I tried calling BmpGetBits and setting the owner of that pointer to 0, but
that results in an "invalid chunk" error.

Version2 and 3 bitmap types may include pointers to separate chunks for the color table and the bits. Also, a type 3 bitmap may have more than one bitmap. So, there may be a _lot_ of chunks you need to change. See bitmap.g in the system headers.


Also, without looking inside the bitmap structures, I don't think there's any way to tell if the bits and color table are in separate chunks or not. So, to make a long story short, I don't think it's possible to do what you want without a lot of pain.

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