From: cristy Date: Sat, 29 Oct 2011 00:29:19 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6718 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ccf4e12a0ae7387e6e0bf59b7e0cd62335b17887;p=imagemagick --- diff --git a/coders/tiff.c b/coders/tiff.c index f74f16df1..bd5c25cb0 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -609,7 +609,11 @@ static void TIFFGetEXIFProperties(TIFF *tiff,Image *image, tdir_t directory; +#if defined(TIFF_VERSION_BIG) + uint64 +#else uint32 +#endif offset; void @@ -658,6 +662,17 @@ static void TIFFGetEXIFProperties(TIFF *tiff,Image *image, (void) FormatLocaleString(value,MaxTextExtent,"%d",longy); break; } +#if defined(TIFF_VERSION_BIG) + case TIFF_LONG8: + { + uint64 + longy; + + if (TIFFGetField(tiff,exif_info[i].tag,&longy,&sans) != 0) + (void) FormatLocaleString(value,MaxTextExtent,"%ld",longy); + break; + } +#endif case TIFF_RATIONAL: case TIFF_SRATIONAL: case TIFF_FLOAT: