Anning Chen wrote:
I have noticed that using jpeglib to decode an image results in a low
resolution tbmp... is there a way to either decode the image in high resolution
using the JpegLibDecodeOptions variable or display the resulting tbmp in high
resolution with BmpCreateBitmapV3?
Yes, as far as I remember, you have to convert the bitmap to V3 with the
highdensity flag:
if ((screenAttr != kDensityLow) && bHighDensityFeature)
{
//the screen is double density
bmpJpegBackground3 = BmpCreateBitmapV3(bmpJpegBackground, screenAttr,
BmpGetBits(bmpJpegBackground), NULL);
}
Regards
Henk
--
-------------------------------------------------------------------------
Henk Jonas [EMAIL PROTECTED]
Palm OS ® certified developer
Please contact me, if you need an off-site contract worker.
-------------------------------------------------------------------------
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/