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 03:55 "Re: tiffset.exe instructions (was Re: tiffcp problems)", by Peter Montgomery

Ray,

But some that were OK are becoming white letters on a black background in MS Imaging, yet still display OK in MS Photo What happens when they are "saved as" >Editor. 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.

What are you using tiffcp to do? Are you performing some additional conversions such as compression type? My app is pretty simple in that it just searches for the appropriate tag, checks the value, and then converts it if it isn't what was passed on the commandline. It's super quick because I don't re-write the file, I just tweak the value of the tag in place so I only have to write a few bytes. I am curious if all your files are the same endian. If not, can you tell if the files that work are one endian versus the weird files being a different endian? I'm just trying to think of what might be causing the problem on my end.

BTW, if you simply need to change the photometric interpretation, then you don't need tiffcp. If you're concerned about my program screwing up, you can always copy the files and then tweak the copies. Once you have verified they are good, then just delete the originals. It'll save a ton of time since you don't have to decode and re-encode the files.

    Thanks,
    PeterM

PS - Have you tried taking a problem file and just running it only through my tweaker program? You should then perform the same experiment and just use tiffcp. See if you can isolate the odd behavior to either of the two apps separately.