mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-06-08 15:37:13 +02:00
-gamma should call GammaImage()
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user