Windows Bitmap viewer for TV
Rayman
Posts: 14,553
I've hacked TV.SPIN to bring you a Windows BMP picture viewer for the Propeller!
It can display any 256 color (8bpp) .BMP file up to 256 pixels wide and 192 pixels tall.
(but bmp filesize should be less than around·27,828 bytes)
Regular text shows on top of the screen and picture on the bottom.
Here·the code, ·screenshot, and source .bmp file:
(Of course, I've done some magic in Photoshop to optimize the result)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Post Edited (Rayman) : 5/23/2009 9:18:12 PM GMT
It can display any 256 color (8bpp) .BMP file up to 256 pixels wide and 192 pixels tall.
(but bmp filesize should be less than around·27,828 bytes)
Regular text shows on top of the screen and picture on the bottom.
Here·the code, ·screenshot, and source .bmp file:
(Of course, I've done some magic in Photoshop to optimize the result)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Post Edited (Rayman) : 5/23/2009 9:18:12 PM GMT
bmp
27K
Comments
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Also, here are a few images I've tweaked in Photoshop (and a couple untweaked, just to test).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Nice work, looks really good!!!
Have any tips for creating the bmp files, a couple I tried crashed the application.
(They were less than 256x192 and 256 colours)
Thanks,
Coley
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX - The home of the Hybrid Development System and PropGFX Lite
Also, it's really best to use the same palette as the examples for best quality.
Also, I must admit that I haven't really tried 256 wide or 192 tall...· Maybe there's a problem with tall or wide pics?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Post Edited (Rayman) : 5/23/2009 9:19:32 PM GMT
I think it was me just being lazy and using windows paint.
I used paint.net to adjust the attached file, work really well now ....
Coley
135x192 256 Colours
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX - The home of the Hybrid Development System and PropGFX Lite
PS:· Do you think this would work with a PAL TV?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Yes that does look a bit better.
PAL mode works but flickers/shimmers far too much, I can tweak the driver to do PAL 60 which is pretty much the same as NTSC.
How did you apply the TV Palette in photoshop, a little tutorial would be nice....
Thanks,
Coley
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX - The home of the Hybrid Development System and PropGFX Lite
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
This is a bit of a complication for my video player plan...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Post Edited (Rayman) : 5/30/2009 12:59:22 AM GMT
You can try here: http://www.brothersoft.com/paint-shop-pro-64054.html
Duffer