AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



2004.10.01 02:33 "TIFFTAG_XMLPACKET - UNDEFINED to BYTE", by Frank Warmerdam

Folks,

I have modified the tif_dirinfo.c definition for TIFFTAG_XMLPACKET to use
type TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED.  The Adobe XMP specification
(and Joris' directory) list it as type BYTE.  Does anyone know why we might have
put it as undefined before?  We can include both definitions if some files use
the undefined type.

This prevents quite annoying errors when reading files produced by Photoshop
with this tag.

I also modified tif_print.c to print out the contents of the XMLPacket if it
is found.  However, this produces quite a bit of text in the tiffinfo report
so I wouldn't be surprised to find that we want to regress that to just report
that it is present.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent