2002.11.16 22:55 "LibTIFF: adding to tiffFieldInfo", by Chris Losinger


I'm adding EXIF support, using Coran Poelman's PDS code. this involves adding an entry to the tiffFieldInfo array so i can grab the SubIFD offset field.

the item i'm adding looks like this:

        { 0x8769,       1,1,    TIFF_LONG, FIELD_EXIFDATA ,     TRUE,   FALSE,  "EXIF Offset" },

and i'm adding it between TIFFTAG_PHOTOSHOP and TIFFTAG_ICCPROFILE because 0x8769 falls between these two tags' IDs.

my question is, what should i use for the value of "FIELD_EXIFDATA"?


Chris Losinger
smallest@smalleranimals.com          http://www.smalleranimals.com