AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

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