]> granicus.if.org Git - imagemagick/commitdiff
https://github.com/ImageMagick/ImageMagick/issues/1445
authorCristy <urban-warrior@imagemagick.org>
Wed, 9 Jan 2019 23:33:42 +0000 (18:33 -0500)
committerCristy <urban-warrior@imagemagick.org>
Wed, 9 Jan 2019 23:34:05 +0000 (18:34 -0500)
MagickCore/constitute.c

index 77fd72677b03d49f133539c05bbc55dcfe20a3dd..5f17a458817e33424a1e5d0e5db81d95abb267d6 100644 (file)
@@ -670,9 +670,9 @@ MagickExport Image *ReadImage(const ImageInfo *image_info,
       next->magick_columns=next->columns;
     if (next->magick_rows == 0)
       next->magick_rows=next->rows;
-    value=GetImageProperty(next,"tiff:Orientation",exception);
+    value=GetImageProperty(next,"exif:Orientation",exception);
     if (value == (char *) NULL)
-      value=GetImageProperty(next,"exif:Orientation",exception);
+      value=GetImageProperty(next,"tiff:Orientation",exception);
     if (value != (char *) NULL)
       {
         next->orientation=(OrientationType) StringToLong(value);