2004.04.02 12:01 "[Tiff] TIFFGetField and TIFFSetField", by Breda McColgan

2004.04.02 14:54 "Re: [Tiff] TIFFGetField and TIFFSetField", by Frank Warmerdam

another question for you: should the list of tags in TIFFGetField and TIFFSetField be identical?

The following tags are listed in TIFFGetField, but not in TIFFSetField:

Should these tags be added to TIFFSetField?


The strip and tile offsets and counts should not be set with TIFFSetField(). They are set internally as the image is written. The TIFFTAG_DATATYPE apparently serves a similar purpose to TIFFTAG_SAMPLEFORMAT and should not be written in new products. It is only available for reading old products.

In short, I think it is fine that they are not listed for TIFFSetField().

Best regards,

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent