AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.01.25 09:42 "[Tiff] change data type of a tag", by Antoine
2005.01.25 13:26 "[Tiff] Re: change data type of a tag", by Antoine
2005.01.27 10:26 "[Tiff] compiling under win2000/VC6", by Antoine
2005.01.27 15:26 "[Tiff] TIFFSetField bug?", by Antoine
2005.01.27 19:59 "Re: [Tiff] TIFFSetField bug?", by Antoine
2005.01.27 18:00 "Re: [Tiff] TIFFSetField bug?", by
2005.01.27 18:35 "Re: [Tiff] TIFFSetField bug?", by Antoine
2005.01.27 20:05 "Re: [Tiff] TIFFSetField bug?", by Antoine
2005.01.27 20:16 "Re: [Tiff] TIFFSetField bug?", by Bob Friesenhahn
2005.01.28 16:03 "[Tiff] planarconfig", by Antoine
2005.01.28 20:54 "Re: [Tiff] planarconfig", by Bob Friesenhahn
2005.01.28 22:54 "Re: [Tiff] planarconfig", by Antoine
2005.01.28 23:02 "Re: [Tiff] planarconfig", by Bob Friesenhahn
2005.01.29 11:50 "Re: [Tiff] planarconfig", by Antoine

2005.01.28 23:02 "Re: [Tiff] planarconfig", by Bob Friesenhahn

Is there something I am missing about how tiff works?

It sounds like the reading program is not properly supplying the default value.

Hi I probably should have stipulated that I was using a modified tiffcp to do this. So it is basically TIFFGetField and TIFFSetField. Basically I got rid

It sounds like you just need to use TIFFGetFieldDefaulted rather than TIFFGetField.

ps. I still don't understand why, but opentiff won't copy an image over if planarconfig is not set but will happily remove it afterwards.

Sounds like a bug.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen