Seems obvious that I have an invalid bitmap header. I just
can't figure out how to store it and retrieve it properly.

Your saving into the record code looks OK. For reading from the record, this works for me (there may be an easier way):


- Get the record pointer
- Get the bitmap dimensions and color table pointer from the record pointer
- Create a new bitmap using the dimensions and color table pointer
- Move the bitmap data from the record into the new bitmap
- Uncompress the bitmap

Regards,
Steve Mann

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

Reply via email to