AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.05.28 06:26 "Tiff JPEG compression quality factor", by Albert Adell
2004.05.28 12:18 "Re: Tiff JPEG compression quality factor", by Frank Warmerdam
2004.05.28 17:32 "Re: Tiff JPEG compression quality factor", by Phillip Crews
2004.06.01 08:27 "Re: Tiff JPEG compression quality factor", by Albert Adell
2004.06.01 18:04 "Re: Tiff JPEG compression quality factor", by Phillip Crews
2004.06.23 07:15 "Tiff JPEG compression quality factor", by Albert Adell
2004.05.28 14:35 "Re: Tiff JPEG compression quality factor", by Bob Friesenhahn

2004.05.28 14:35 "Re: Tiff JPEG compression quality factor", by Bob Friesenhahn

On Fri, 28 May 2004, Adell, Albert wrote:

> I'm using the libtiff v3.6.1 and I can save a tiff file with Jpeg
> compression and quality factor 80, but when i
> try to open it, the jpeg quality factor pseudotag has a value of 75. I
> guess I am doing something wrong,
> because I assume that I can read the Jpeg quality factor written in advance.
> Is that correct?

The notion of JPEG "quality factor" is specific to the IJG JPEG 
library.  There is no quality factor saved to the image.  However, as 
it turns out, the parameters used when saving the JPEG may be 
estimated when the image is read.

GraphicsMagick 1.1 includes some code which accurately estimates the 
IJG JPEG quality factor and sampling factors when a JPEG is read and 
allows you to save using the original parameters.  However, I believe 
that complete support is implemented for JPEG files only and not for 
JPEG in TIFF (but I could be wrong).  I have not tested JPEG in TIFF 
to see if the parameters are recorded and saved.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen