diff options
author | Mike Welles <mike@onshore.com> | 1999-02-03 19:53:27 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2022-06-22 23:26:58 +0100 |
commit | e02edb7044253c49f0a866ff469ae7f3097dc129 (patch) | |
tree | 074fef49e6b1e1a39aa977f31a81521c3589b25d /libtiff/tif_dirinfo.c | |
parent | 0db24a4dc6b63cb897d1179d5e0a639707ab6868 (diff) | |
download | libtiff-git-tiff-3.4-iptc.tar.gz |
v3.4beta037iptc releasev3.4beta037iptctiff-3.4-iptc
Diffstat (limited to 'libtiff/tif_dirinfo.c')
-rw-r--r-- | libtiff/tif_dirinfo.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libtiff/tif_dirinfo.c b/libtiff/tif_dirinfo.c index 9b716c2a..d7fed27c 100644 --- a/libtiff/tif_dirinfo.c +++ b/libtiff/tif_dirinfo.c @@ -216,6 +216,21 @@ static const TIFFFieldInfo tiffFieldInfo[] = { { TIFFTAG_TILEDEPTH, 1, 1, TIFF_SHORT, FIELD_TILEDEPTH, FALSE, FALSE, "TileDepth" }, /* end SGI tags */ +#ifdef IPTC_SUPPORT +#ifdef PHOTOSHOP_SUPPORT + { TIFFTAG_RICHTIFFIPTC, -1,-1, TIFF_LONG, FIELD_RICHTIFFIPTC, + FALSE, TRUE, "RichTIFFIPTC" }, +#else + { TIFFTAG_RICHTIFFIPTC, -1,-3, TIFF_UNDEFINED, FIELD_RICHTIFFIPTC, + FALSE, TRUE, "RichTIFFIPTC" }, +#endif +#endif +#ifdef PHOTOSHOP_SUPPORT + { TIFFTAG_PHOTOSHOP, -1,-3, TIFF_UNDEFINED, FIELD_PHOTOSHOP, + FALSE, TRUE, "Photoshop" }, + { TIFFTAG_PHOTOSHOP, -1,-1, TIFF_BYTE, FIELD_PHOTOSHOP, + FALSE, TRUE, "Photoshop" }, +#endif #ifdef ICC_SUPPORT { TIFFTAG_ICCPROFILE, -1,-3, TIFF_UNDEFINED, FIELD_ICCPROFILE, FALSE, TRUE, "ICC Profile" }, |