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
February 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.02.26 18:25 "Photometric Interpretation Tag and Tiffcp", by Richard Nolde
2008.02.27 02:52 "Re: Photometric Interpretation Tag and Tiffcp", by <robert@lange.ca>

2008.02.26 18:25 "Photometric Interpretation Tag and Tiffcp", by Richard Nolde

> Date: Mon, 25 Feb 2008 21:26:51 -0500
> From: Robert Lange <Robert@lange.ca>
> Subject: [Tiff] tiffcp and photometric interpretation
> To: tiff@lists.maptools.org
> Message-ID: <47C378EB.5030803@lange.ca>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello.. looking for a patch (I understand) for tiffcp 3.8.2 to invert 
> min-is-white to min-is-black. Is this available
Two possibilities come to mind depending upon your needs. 
If all you want is to correct an improperly set tag, why not use tiffset.
If you need to rewrite the data to pacify lame TIFF readers, use 
tiffcrop with the -I flag. The support is limited to grayscale and 
bilevel images and it does not take into account any tags that might 
imply other than linear scaling of pixel values, eg 0 becomes 255 and 
255 becomes 0 for 8 bit grayscale.

Richard Nolde, tiffcrop author