2002.03.25 17:54 "TIFF w/JPEG to JPEG file?", by Michael O'Rourke

2002.03.26 07:21 "Re: TIFF w/JPEG to JPEG file?", by Tom Lane

If I have Tiff files with Jpeg compression (in one strip), can the jpeg be stripped out without decompression and recompression into a jpeg file? I see there is a JPEG_TABLES tag and I'm guessing that the info is in such a different format in the Tiff file that maybe this cannot be done?

It's theoretically doable in most cases. See ftp://ftp.uu.net/graphics/jpeg/TIFFTechNote2.txt.gz for an excruciatingly complete discussion of the pitfalls.

If you're looking for canned source code, I'm afraid I don't have any.

regards, tom lane
organizer, Independent JPEG Group