From e777892fab0d2339cb2b9be9853c8d2329434feb Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 9 Jan 2019 18:33:42 -0500 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/1445 --- MagickCore/constitute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.40.0