From 056ccdbeac41c9b24b625e0139cd25a4cdffb22a Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 18 Jan 2025 22:19:47 -0500 Subject: [PATCH] -gamma should call GammaImage() --- MagickWand/operation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickWand/operation.c b/MagickWand/operation.c index bbe00a5e5c..38e3145c32 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);