]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 13 Feb 2015 21:52:54 +0000 (21:52 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 13 Feb 2015 21:52:54 +0000 (21:52 +0000)
MagickCore/property.c

index 496ab740550168905ece3695a250ef2b2f9086f0..4249022b1dad9095e7d69de52a6e6c5d67b97056 100644 (file)
@@ -2653,8 +2653,7 @@ MagickExport const char *GetMagickProperty(ImageInfo *image_info,
   {
     case 'b':
     {
-      if ((LocaleCompare("base",property) == 0) ||
-          (LocaleCompare("basename",property) == 0) )
+      if (LocaleCompare("basename",property) == 0)
         {
           WarnNoImageReturn("\"%%[%s]\"",property);
           GetPathComponent(image->magick_filename,BasePath,value);
@@ -2801,7 +2800,7 @@ MagickExport const char *GetMagickProperty(ImageInfo *image_info,
           string=image->magick;
           break;
         }
-      if (LocaleCompare("maxima",property) == 0)
+      if (LocaleCompare("max",property) == 0)
         {
           double
             maximum,
@@ -2825,7 +2824,7 @@ MagickExport const char *GetMagickProperty(ImageInfo *image_info,
             GetMagickPrecision(),mean);
           break;
         }
-      if (LocaleCompare("minima",property) == 0)
+      if (LocaleCompare("min",property) == 0)
         {
           double
             maximum,
@@ -2977,8 +2976,7 @@ MagickExport const char *GetMagickProperty(ImageInfo *image_info,
             GetMagickPrecision(),skewness);
           break;
         }
-      if ((LocaleCompare("standard-deviation",property) == 0) ||
-          (LocaleCompare("standard_deviation",property) == 0))
+      if (LocaleCompare("standard-deviation",property) == 0)
         {
           double
             mean,
@@ -3041,30 +3039,6 @@ MagickExport const char *GetMagickProperty(ImageInfo *image_info,
         }
       break;
     }
-    case 'x': /* FUTURE: Obsolete X resolution */
-    {
-      if ((LocaleCompare("xresolution",property) == 0) ||
-          (LocaleCompare("x-resolution",property) == 0) )
-        {
-          WarnNoImageReturn("\"%%[%s]\"",property);
-          (void) FormatLocaleString(value,MaxTextExtent,"%.20g",
-            image->resolution.x);
-          break;
-        }
-      break;
-    }
-    case 'y': /* FUTURE: Obsolete Y resolution */
-    {
-      if ((LocaleCompare("yresolution",property) == 0) ||
-          (LocaleCompare("y-resolution",property) == 0) )
-        {
-          WarnNoImageReturn("\"%%[%s]\"",property);
-          (void) FormatLocaleString(value,MaxTextExtent,"%.20g",
-            image->resolution.y);
-          break;
-        }
-      break;
-    }
     case 'z':
     {
       if (LocaleCompare("zero",property) == 0)