AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.09.11 13:55 "Tags modifcation", by Gerben Koopmans
2002.09.11 14:21 "Re: Tags modifcation", by Frank Warmerdam
2002.09.30 18:23 "Re: Seek help", by Zhongfu Zhou
2002.09.30 17:34 "Seek help", by Zhongfu Zhou
2002.09.30 18:00 "Re: Seek help", by Frank Warmerdam
2002.10.01 04:36 "Re: Seek help", by Peter Montgomery

2002.09.11 13:55 "Tags modifcation", by Gerben Koopmans

Hi there,

In trying to use the tag extension schemes in "./contrib/tags" I came across a not so obvious limitation in the lines

#define FIELD_SETLONGS 3
#define FIELD_LAST (32*FIELD_SETLONGS-1)
u_long td_fieldsset[FIELD_SETLONGS];

in tif_dir.h.

Here FIELD_LAST indicates the maximum number of tags you may define in libtiff. If, for instance, you want to read Exif files it seems you need to increase FIELD_SETLONGS to accomodate the large number of tags.

Gerben Koopmans
KEMA Power Generation & Sustainables
KEMA Nederland B.V.
P. O. Box 9035

6800 ET Arnhem
The Netherlands
Registered Arnhem 09080262
Telephone +31 26 3 56 32 93
Telefax +31 26 3 56 20 12
e-mail: g.koopmans@kema.nl

Internet: http://www.kema-kps.nl