RE: Display Picture.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Sam wrote:
> 
> euman at bellsouth.net wrote:
> > Hello Sam,
> > 
> > read_bitmap( ) can only read in 256 color images and cannot handle RLE 
> > encoded images.
> > 
> > Personally I use 256 color images because there is a good chance that 
> > later down the
> > road in your development you will be pressed with having to have the 
> > ability to to
> > run or display your program on a computer that isnt equiped with 
> > hardware to handle
> > any higher resolution that 640 width - 480 height - 256 colors. You 
> > should keep this in
> > mind when you start a project by asking who your target audience will 
> > be. If its an desktop
> > application for business this is certain to be an issue. On the other 
> > hand, if you're a gamer
> > then high color sure makes for a nice look but there is a penalty that 
> > must be paid for
> > the higher color, in speed. If you can hone the talent of the DOS world 
> > and there are some
> > nice looking games written that only use 256 colors in DOS then you'll 
> > be better off in future endevores.
> > 
> > Im saying this because I myself fell into this lazy way of graphics 
> > handling and only recently
> > did I discover how Windows handles palettes and this came after writing 
> > thousands of lines
> > in a nice GUI only to re-write code due to the very fact that my app 
> > would not look or
> > function properly on the lesser machines.
> > 
> > Hopefully words of wisdom and if I can help you with this I certainly 
> > will..
> > 
> 
> Thanks for the words of wisdom. I made a quick sketch in Paint and saved 
> 
> it in 256 format. Still get message `attempt to subscript an atom.' And 
> the `Bitmap' demo displayed it with only the bottom portion showing.
> 
>    What do you think?? Is there a way to display other pictures (.jpg, 
> .gif)??
> 

There are libraries in the RDS archives for handling jpg, gif, and pcx 
files that I know of. Probably others.

Chris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu