AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2009.02.14 11:55 "[Tiff] Different output with the same image???", by blp330
2009.02.14 15:55 "Re: [Tiff] Different output with the same image???", by blp330
2009.02.16 12:03 "Re: [Tiff] Different output with the same image???", by Gerben Vos
2009.02.16 15:10 "Re: [Tiff] Different output with the same image???", by Bob Friesenhahn
2009.03.16 12:36 "Re: [Tiff] Needs help on implementing the JPEG 7 compression", by Gerben Vos
2009.03.16 07:11 "[Tiff] Needs help on implementing the JPEG 7 compression", by Sanjeev Balachander
2009.03.16 10:54 "Re: [Tiff] Needs help on implementing the JPEG 7 compression", by Gerben Vos
2009.04.04 16:48 "Re: [Tiff] Needs help on implementing the JPEG 7 compression", by Sanjeev Balachander

2009.03.16 10:54 "Re: [Tiff] Needs help on implementing the JPEG 7 compression", by Gerben Vos

I have a requirement where in i had to incorporate the JPEG 7

> compression. When i searched in the net i am getting an algorithm for > only JPEG 6. I am in need of some sample c code for implementin the

> JPEG 7 compression to the TIFF images. If some one is having kindly > do share the same if possible.

Interesting! Where did you find the algorithm for compression type 6 (old-style JPEG-in-TIFF)?

C code for compression type 7 (new-style JPEG-in-TIFF) has been available for a long time as part of libtiff. Just download it from http://www.remotesensing.com/libtiff/. The code is in tif_jpeg.c.

A specification of compression type 7 can be found at http://www.remotesensing.org/libtiff/TIFFTechNote2.html

This document also explains why it is a terribly bad idea to try to implement compression type 6. Libtiff contains read-only code for this deprecated compression type.

Gerben Vos.