if image data are 16bpp you may need to byteswap each pixel. it depends how you
draw it exactly (memmove to window bitmap? or create bitmap and use
WinDrawBitmap()?)

Anoop wrote:
> Hi all,
>         We read a bmp image from a file at a specified location and
> tried displaying on screen. While trying it in device the image was
> correctly loaded but was distorted. We specified the correct height,
> width , depth and file size for reading from file. Also we noticed that
> the image is inverted. The color combination is also not correct. if
> anyone gone through this issue, please guide us.
> 
> Thanks,
> Anoop
> 

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to