AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.03.12 07:07 "[Tiff] encapsulate jpeg to TIFF without de-compressing and re-compressing", by Zhang Weiwu
2008.03.17 18:13 "Re: [Tiff] encapsulate jpeg to TIFF without de-compressing andre-compressing", by Gerben Vos
2008.03.18 01:29 "Re: [Tiff] encapsulate jpeg to TIFF without de-compressing andre-compressing", by Zhang Weiwu
2008.03.18 10:55 "Re: [Tiff] encapsulate jpeg to TIFF without de-compressing andre-compressing", by Gerben Vos

2008.03.18 10:55 "Re: [Tiff] encapsulate jpeg to TIFF without de-compressing andre-compressing", by Gerben Vos

Thanks for the comment. Is there userland tools available for this, or do I have to write code? I haven't write any C code for very long time since I left school.

Sorry, you'll have to write it yourself, or ask one of us for a commercial offer...

If you search for "jpeg2tiff" on the Internet, you'll find some tools, but I know none of them, so I don't know if they do what you want. (The jpeg2tiff.pl from batch-gimp does NOT do what you want, it decompresses and re-compresses the image.)

It should be possible to lift the JPEG-analyzing code from http://www.pdflib.com/download/free-software/jpeg2ps/ and replace its PostScript-writing back-end with a TIFF-writing one. (But note that that code has a very restrictive license: it may not be sold or distributed commercially.)

Gerben Vos.