-gamma should call GammaImage()

This commit is contained in:
Cristy
2025-01-18 22:19:47 -05:00
parent 1afa38ae2f
commit 056ccdbeac
+1 -1
View File
@@ -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);