Has anyone been able to get BmpCompress working successfully on both OS 4.0 and OS 5.0? And by that I mean not only returning without errors, but also actually compressing the bitmap using BitmapCompressionTypeRLE?
I'd rather use the OS routines than lift the compression routines from PilRC and write my own uncompress routines. :-( One of the problems is that I ultimately need to save the bitmap in V2 big-endian format (or V3 big-endian for high density images) in a bitmap family. I was able to get BmpCompress working for 8bit images on OS 5.0, but it seems to require a bitmap that was created via BmpCreate, which seems to only create the bitmap in device-dependent (little-endian) format. I've written code to convert it to big-endian afterwards, but can RLE or ScanLine compression require any endian swapping beyond just the initial length word (or dword in V3 bitmaps)? // chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
