Hi,

We are using the BitmapRsrc routines to create V2 and V3 bitmaps structures
that we
can store to and restore bitmaps from database etc.

e.g:-
bitmapP = (BitmapType *)BmpRsrcCreate(width, height, depth, colortableP, 0,
pixelFormatIndexed);

theWindowHandle = WinCreateBitmapWindow (bitmapP, error);

WinCopyRectangle( theCurrentWindow, theWindowHandle, theBoundsPtr, 0, 0,
winPaint );

//Now compress it before storing.

error = BmpCompress(bitmapP, BitmapCompressionTypeRLE);

This all works fine upto trying to compress the Bitmap. BmpCompress() fails
(error = sysErrParamErr ) leaving the bitmap uncompressed

Should BmpCompress be backward compatible to old style Bitmap structures?

If some Bmp routines are not backward compatible what are they?

Many thanks,
Best Regards

Steve Bennett



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

Reply via email to