]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authoranthony <anthony@git.imagemagick.org>
Thu, 22 Mar 2012 14:33:17 +0000 (14:33 +0000)
committeranthony <anthony@git.imagemagick.org>
Thu, 22 Mar 2012 14:33:17 +0000 (14:33 +0000)
MagickWand/operation.c

index 9ceb4dc41351e367169d3281ca7209b62bfe0f6c..1ad12965f25f6a29a69e1755e468784c79618c10 100644 (file)
@@ -2087,16 +2087,12 @@ static void CLISimpleOperatorImage(MagickCLI *cli_wand,
                     _exception);
           break;
         }
-#if 0
-      /* this is a stupid and pretty usless operation
-       * -level 10% produces much better and more controlled result
-       */
       if (LocaleCompare("contrast",option+1) == 0)
         {
+          /* DEPRECIATED: The -/+level provides far more controlled form */
           (void) ContrastImage(_image,normal_op,_exception);
           break;
         }
-#endif
       if (LocaleCompare("contrast-stretch",option+1) == 0)
         {
           double