Stefan Stolz wrote:
It create's a BitmapTypeV3 Bitmap and set's the double-Density-Flag in it.

That's the Code:

Err pnoJpeg2Bmp2DoubleDensity(UInt16 refNum, BitmapPtr inBmp, BitmapPtrV3 
*outBmp)


debug your code right after the pnoJpeg2Bmp2DoubleDensity call and answer us the following simple questions:

1) it returns an Err value?
2) or it returns a NULL pointer for outBmp (bmpV3)
3) Which Palm OS ver am I debugging (so we can check if it supports High density to do this operation);

Meanwhile instead of using the BmpV3 you can ignore the pnoJpeg2Bmp2DoubleDensity call and use the bmp pointer normally. But you will notice that you bmp will not be double density (the main point is: it will be displayed with the double of the dimensions on the form).

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

Reply via email to