ImageMagick/ImageMagick-gamma-should-call-GammaImage.patch
Petr Gajdos 57a2b299be - version update to 7.1.1.44
* Bump azure/trusted-signing-action from 0.5.0 to 0.5.1 in #7895
  * Enable any dither method such as Floyd-Steinberg for Magick::Image::map()
    in #7937
  * Magick++ Documentation Verification in #7906
  * fix type casting in statistic.c in #7982
- removed patched (upstreamed)
  - ImageMagick-0-1-are-special-cases-for-pow.patch
  - ImageMagick-check-for-pow-zero.patch
  - ImageMagick-gamma-should-call-GammaImage.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=752
2025-02-26 08:38:22 +00:00

15 lines
569 B
Diff

diff --git a/MagickWand/operation.c b/MagickWand/operation.c
index bbe00a5e5ca..38e3145c321 100644
--- a/MagickWand/operation.c
+++ b/MagickWand/operation.c
@@ -2477,7 +2477,7 @@ static MagickBooleanType CLISimpleOperatorImage(MagickCLI *cli_wand,
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);