2007.07.23 13:21 "[Tiff] Default values", by Oliver Geisen

2007.07.24 09:22 "Re: [Tiff] Default values", by Andrey Kiselev

On Tue, Jul 24, 2007 at 09:02:36AM +0200, Oliver Geisen wrote:

Ok, so all i have to do is use TIFFGetFieldDefaulted instead of TIFFGetField, right?

Should i do this for all type of tags, or only for those known to have default values? (i'm lazy, yes i am...)

TIFFGetFieldDefaulted() will call TIFFGetField() first, and if this failed default value will be used. If there is no default, TIFFGetFieldDefaulted() fails.

Best regards,


Andrey V. Kiselev
ICQ# 26871517