AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.02.26 18:25 "[Tiff] Photometric Interpretation Tag and Tiffcp", by Richard Nolde
2008.02.26 02:26 "[Tiff] tiffcp and photometric interpretation", by Robert Lange
2008.04.10 17:20 "[Tiff] Tiff to JPEG2000", by Robert Lange
2008.04.10 17:53 "Re: [Tiff] Tiff to JPEG2000", by Bob Friesenhahn
2008.02.27 02:52 "Re: [Tiff] Photometric Interpretation Tag and Tiffcp", by langenet

2008.02.26 18:25 "[Tiff] 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