From: Cristy Date: Wed, 28 Mar 2018 00:26:47 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/1064 X-Git-Tag: 7.0.7-29~283 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=236f00b0c628eccd5dd172682e94eefa976c33ae;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/1064 --- diff --git a/MagickCore/property.c b/MagickCore/property.c index 34e37e050..9e2035eab 100644 --- a/MagickCore/property.c +++ b/MagickCore/property.c @@ -2856,6 +2856,13 @@ MagickExport const char *GetMagickProperty(ImageInfo *image_info, image->compose); break; } + if (LocaleCompare("compression",property) == 0) + { + WarnNoImageReturn("\"%%[%s]\"",property); + string=CommandOptionToMnemonic(MagickCompressOptions,(ssize_t) + image->compression); + break; + } if (LocaleCompare("copyright",property) == 0) { (void) CopyMagickString(value,GetMagickCopyright(),MagickPathExtent);