AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.01.30 01:34 "Re: tiffcp problems", by Peter Montgomery
2003.01.30 01:28 "Re: tiffcp problems", by Peter Montgomery
2003.01.29 12:53 "tiffcp problems", by Ray Pixley
2003.01.31 17:54 "Re: tiffcp problems", by Ray Pixley
2003.02.01 00:29 "Re: tiffcp problems", by Peter Montgomery
2003.02.04 03:30 "tiffset.exe instructions (was Re: tiffcp problems)", by Ray Pixley
2003.02.04 08:55 "Re: tiffset.exe instructions (was Re: tiffcp problems)", by Andrey Kiselev
2003.02.07 03:04 "Re: tiffset.exe instructions (was Re: tiffcp problems)", by Jason Summers
2003.02.04 21:39 "Re: tiffset.exe instructions (was Re: tiffcp problems)", by Peter Montgomery
2003.02.07 01:37 "Re: tiffset.exe instructions (was Re: tiffcp problems)", by Ray Pixley
2003.02.07 03:55 "Re: tiffset.exe instructions (was Re: tiffcp problems)", by Peter Montgomery
2003.02.07 14:11 "Re: tiffset.exe instructions (was Re: tiffcp problems)", by Ray Pixley

2003.02.07 01:37 "Re: tiffset.exe instructions (was Re: tiffcp problems)", by Ray Pixley

Peter

I received your tool, and it seems to work fine. Its a lot lot more than I expected, but I haven't had enough time to check for unintended consequences. So far, the ones I running into seem to be less of a bother than the photometric interpretation somehow being set or intrepreted wrongly. (Is there such a word? Oh well.) For example, most of my images, after being process by tiffcp and then your tifftweak, are coming out black letters on white now in both MS Imaging and MS Photo Editor. That's good. But some that were OK are becoming white letters on a black background in MS Imaging, yet still display OK in MS Photo Editor. What happens when they are "saved as" by either application is a whole 'nother story! I'm no quite sure yet why this behavior is occurring, but as I get more clues and hints from this list, I'm sure it'll be figured it out.

Thanks again for your help.

Ray

Date: Tue, 04 Feb 2003 13:39:31 -0800

I have written the utility you are looking for so desperately. It's a commandline Delphi app that is passed two parameters:

  1. The name of the TIFF file to modify
  2. The new value for photometric interpretation. The only legal values are 0 (white is the minimum value) or 1 (black is the minimum value).

Since it is a console app, it can be called from a batch file. It returns 1 on success and 0 on failure. If you have any problems, let me know. I have attached it to the message I sent to you directly. I didn't attach it to the general posting since most members probably don't want it. If any do, just let me know.

<< TiffTweak.zip >>

__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup