Sure - even if not in exactly same order. If the image depth is correct (16 bits) and no compression is used, then probably the color component order is wrong. Windows and Palm use different color schemes (BGR order), by I don't remember the details by heart. The best way to procede is to prepare 3 bitmaps - one blue, one red, one green - and compare the output.
Jan Slodicka ----- Original Message ----- From: "Palm" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, July 10, 2003 10:25 AM Subject: Export bmp from WIN to PALM > Hi All, > > I'm trying to export windows bitmap files (8 bit) to a palm database. > > I write the windows (dib) bitmap data as a data stream in the .pdb according > to the palm header structure, and re - construct the bitmap structure in > palm memory. > > When writing the bitmap header in the palm necessary byte order conversions > are made. > > After loading to the palm, the image is displayed as garbage but with the > correct dimensions . Has anyone tried this before. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
