1999.08.11 22:01 "TIFF to JPEG file - how?", by James McMullen
I want to write a JPEG file from a JPEG'd TIFF image without decompressing and recompressing.
If so, how? I'm trying to adapt code in tiffsplit.c or tiffcp.c, but I'm unclear on how to write the raw data in a JPEG conventional way. If I adapt the code in cjpeg.c (from the JPEG distribution) I'm unclear how to splice in the TIFF strip-oriented code (i.e. convert the raw TIFF data from TIFFReadRawStrip() to the JSAMPIMAGE sample expected by jpeg_write_raw_data()).
Editor's note: This mail was not originally archived, and has been reconstructed from quotes.