From: Cristy Date: Wed, 9 Jan 2019 23:33:42 +0000 (-0500) Subject: https://github.com/ImageMagick/ImageMagick/issues/1445 X-Git-Tag: 7.0.8-24~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e777892fab0d2339cb2b9be9853c8d2329434feb;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/1445 --- diff --git a/MagickCore/constitute.c b/MagickCore/constitute.c index 77fd72677..5f17a4588 100644 --- a/MagickCore/constitute.c +++ b/MagickCore/constitute.c @@ -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);