Alexander Galkin wrote:
> I need to write a code in conduit that would take Windows bitmap and convert
> it to Palm bitmap in binary format and save this binary data into Palm
> database. Palm app code then would read data from database and draw the
> bitmap. Is there any sample source code available that show how to convert
> windows bitmap into Palm bitmap and then how to draw Palm bitmap from this
> data?
> 

I do this right now - during a HotSync GIF and PNG files are downloaded 
from the Internet and saved into a PDB and later displayed on the Palm. 
It's not that hard. The trick is to write the data on a pdb record in 
the Palm Bitmap format. This is very straight forward, check the Palm OS 
  Documentation, section Bitmaps. As long as you write in the right 
format you can then on the Palm side just lock the record and pass it to 
WinDrawBitmap().

Chris


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

Reply via email to