hi all, I am using the JPEG library at http://www.nyctergatis.com/jpeglib/ to create a jpeg from an RGB array.
There seems to be a problem in the encoder, some where in the middle, the image gets new colors and is somewhat erroneous. I am using the following code. // 'im' is the RGB array JpegLibCreateImageDescrPtr(jpegLibRef, &image, 100, 100, 3,im); JpegLibCreateDataFileStreaming(jpegLibRef, &data, fh); JpegLibCreateEncOptions(0, &eopt); // initialize options with def. values JpegLibSetEncOptQuality(0, &eopt, 100); // 0 = worst .. 100 = best error = JpegLibWrite(jpegLibRef, &image, NULL, &data); Any suggestions will be very helpful. Ravi. __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
