File ImageMagick-gamma-should-call-GammaImage.patch of Package ImageMagick.38922

Index: ImageMagick-7.1.1-21/MagickWand/operation.c
===================================================================
--- ImageMagick-7.1.1-21.orig/MagickWand/operation.c
+++ ImageMagick-7.1.1-21/MagickWand/operation.c
@@ -2475,7 +2475,7 @@ static MagickBooleanType CLISimpleOperat
           if (IsGeometry(arg1) == MagickFalse)
             CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1);
           constant=StringToDouble(arg1,(char **) NULL);
-#if 0
+#if 1
           /* Using Gamma, via a cache */
           if (IfPlusOp)
             constant=PerceptibleReciprocal(constant);
openSUSE Build Service is sponsored by