AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.07.23 13:21 "[Tiff] Default values", by Oliver Geisen
2007.07.23 13:47 "Re: [Tiff] Default values", by Andrey Kiselev
2007.07.24 07:02 "Re: [Tiff] Default values", by Oliver Geisen
2007.07.24 09:22 "Re: [Tiff] Default values", by Andrey Kiselev
2007.07.23 14:15 "Re: [Tiff] Default values", by Andy Cave
2007.07.23 14:25 "Re: [Tiff] Default values", by Toby Thain

2007.07.24 07:02 "Re: [Tiff] Default values", by Oliver Geisen

Hello,

is it correct for tiff-readers to make assumptions about TIFF-Tag default values?

Some tags have default values and it is not an error. Actually we have a special function TIFFVGetFieldDefaulted() which works in the same way as TIFFVGetField() but also returns default value if the tag is not set in

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...)

Thank you!

Oliver Geisen
Systemadministrator
_____________________________
Kreisboten Verlag Mühlfellner KG
82362 Weilheim i. Ob.
Tel. 0881/686-904
Fax 0881/686-74
Sitz Weilheim, AG München, HRA 64016, p.h.G.:
Kreisboten-Verlag Verwaltungsgesellschaft mbH,
Weilheim, AG München, HRB 119773,
Geschäftsführer: Dr. Dirk Ippen, Dr. Gerd Waldenmaier