2008.02.27 02:52 "Re: [Tiff] Photometric Interpretation Tag and Tiffcp", by langenet
This is great to know. While I have downloaded/installed libtiff (tiff-3.8.2.zip) on my UNIX server, I do not have tiffcrop installed as one of the utilities.How can I configure/install this. Configure/make didn't create this. I'm no developer, so need a bit of help if possible in getting
> Date: Mon, 25 Feb 2008 21:26:51 -0500
> From: Robert Lange <Robert@lange.ca>
> Subject: [Tiff] tiffcp and photometric interpretation
> Message-ID: <47C378EB.firstname.lastname@example.org>
> 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
View this message in context: http://www.nabble.com/Photometric-Interpretation-Tag-and-Tiffcp-tp15697225p15704945.html
Sent from the Tiff / LibTiff mailing list archive at Nabble.com.