I�m trying to write a .jpg file in the memory card of a palm, but the
resulting image is all distorted. The function to write is as follow:

JpegLibCreateImageDescrPtr(jpegLibRefNum, &imageJPG, 320, 240, 1,
captureInfo.pInicio);
JpegLibCreateDataVFS(jpegLibRefNum, &dataJPG, fileP);
erro = JpegLibWrite(jpegLibRefNum, &imageJPG, NULL, &dataJPG);

I don�t know exactly what is the last parameter of
JpegLibCreateImageDescrPtr. I used the ptr to the bitmap obtained from the
capture callback, but I think my error could be there.
Any experience on it?

Thanks for your attention,
Christiano.




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

Reply via email to