Look in the Palm Knowledge Base. There is a signature example you may be able to convert for your needs.
----- Original Message ----- From: "Alexander Galkin" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, October 07, 2002 10:08 AM Subject: Re: converting Windows bitmap into Palm bitmap > I would be very thankful to you if you could send me conduit source code > that takes Windows bitmap or any other public image format and write data as > Palm bitmap. > > Thank you once more. > > Alexander Galkin > > "Christian Vandendorpe" <[EMAIL PROTECTED]> wrote in message > news:97516@palm-dev-forum... > > > > 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/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
