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
March 2008

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

2008.03.27 19:07 "TIFF vs JPEG files", by <matt1@llnl.gov>
2008.03.27 19:15 "Re: TIFF vs JPEG files", by Bob Friesenhahn

2008.03.27 19:15 "Re: TIFF vs JPEG files", by Bob Friesenhahn

On Thu, 27 Mar 2008, matt1@llnl.gov wrote:

> I am developing some s/w to create grayscale images from a datafile.  The 
> code originally generated JPEG files and I am transitioning to TIFF files. 
> My TIFF files are coming out with the grayscale spectrum reversed from the 
> JPEG files.  Obviously, I can reverse the spectrum in my code but I was 
> wondering if there was a more elegant way to do this such as TIFF tag 
> settings to specify which end of the spectrum is white and which is black. 
> Any suggestions?

This is accomplished via the PHOTOMETRIC_MINISBLACK and 
PHOTOMETRIC_MINISWHITE photometric tags.

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