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

2007.07.23 13:47 "Re: [Tiff] Default values", by Andrey Kiselev

On Mon, Jul 23, 2007 at 03:21:30PM +0200, Oliver Geisen wrote:

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

In my case i notice that bilevel images saved from Adobe Photoshop 5 does not contain some baseline tags (e.g. FILLORDER). FILLORDER is defaulted to 1, so can i use this if not specified or should i throw an error?!

Oliver,

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 image and default is anticipated.

Best regards,

Andrey

--
Andrey V. Kiselev
ICQ# 26871517