Hi,

I am using "nyctergatis - jpeglib" to form a jpeg from RGB16/RGB24 raw data on 
Treo600 (ARM)
Code Used:                                              
JpegLibCreateImageDescrPtr(jpegLibRef, &image, 160, 120, 3, bufP);      
JpegLibCreateDataVFS(jpegLibRef, &data, fileRef);
JpegLibWrite(jpegLibRef, &image, NULL, &data);

But when I view the image in my MemoryCard (using a memory card reader), it is 
either distorted or black.

I am trying to find out the reason. Do i need to do following things before 
sending the img data buffer in "JpegLibCreateImageDescrPtr": 
1. byte swapping?
2. RGB to YCbCr conversion?

Thanks for any help.
Pooja



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

Reply via email to