From ccf4e12a0ae7387e6e0bf59b7e0cd62335b17887 Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 29 Oct 2011 00:29:19 +0000 Subject: [PATCH] --- coders/tiff.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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: -- 2.40.0