2004.11.29 20:48 "[Tiff] Q on tag size", by Chris Losinger

2004.11.29 20:48 "[Tiff] Q on tag size", by Chris Losinger

in tif_dir.c, _TIFFVGetField, there's this bit of code to grab 'custom' tags

                 if( fip->field_passcount )
                 {
                     *va_arg(ap, unsigned short *) = (unsigned short) tv->count;
                     *va_arg(ap, void **) = tv->value;
                     ret_val = 1;
                     break;
                 }

given that "unsigned short", i wonder: does the TIFF spec actually limit tag sizes to 64K? i wouldn't think so, since the TIFF tag structure allows for a 32-bit length.

__________________________
Chris Losinger
Smaller Animals Software, Inc.
http://www.smalleranimals.com