From 7602666187e5c983f9dd73f3869e98dd7eca5747 Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 9 Jan 2019 18:36:47 -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 5f17a4588..b4d2f2862 100644 --- a/MagickCore/constitute.c +++ b/MagickCore/constitute.c @@ -703,9 +703,9 @@ MagickExport Image *ReadImage(const ImageInfo *image_info, next->resolution.y=geometry_info.rho+geometry_info.sigma/1000.0; (void) DeleteImageProperty(next,"exif:YResolution"); } - value=GetImageProperty(next,"tiff:ResolutionUnit",exception); + value=GetImageProperty(next,"exif:ResolutionUnit",exception); if (value == (char *) NULL) - value=GetImageProperty(next,"exif:ResolutionUnit",exception); + value=GetImageProperty(next,"tiff:ResolutionUnit",exception); if (value != (char *) NULL) { option_type=ParseCommandOption(MagickResolutionOptions,MagickFalse, -- 2.40.0