]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 29 Oct 2011 00:29:19 +0000 (00:29 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 29 Oct 2011 00:29:19 +0000 (00:29 +0000)
coders/tiff.c

index f74f16df175ac48f26a249d4060e51737e756d0a..bd5c25cb0b937b2b9e154a25e01330bbe53805ae 100644 (file)
@@ -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: