Commit 0e6ed70d2 for imagemagick.org
commit 0e6ed70d295ab4e25c6b345d893d33f9131ba67f
Author: Cristy <urban-warrior@imagemagick.org>
Date: Thu Oct 15 21:49:07 2026 -0400
restore switch case that was hosed
diff --git a/MagickWand/operation.c b/MagickWand/operation.c
index e251e0315..08fe15cb3 100644
--- a/MagickWand/operation.c
+++ b/MagickWand/operation.c
@@ -4285,8 +4285,22 @@ static MagickBooleanType CLIListOperatorImages(MagickCLI *cli_wand,
}
case 'f':
{
- if (LocaleCompare("fft",option+1) == 0)
+ if (LocaleCompare("fft",option+1) == 0)
{
+ new_images=ForwardFourierTransformImage(_images,IsNormalOp,
+ _exception);
+ break;
+ }
+ if (LocaleCompare("flatten",option+1) == 0)
+ {
+ /* REDIRECTED to use -layers flatten instead */
+ (void) CLIListOperatorImages(cli_wand,"-layers",option+1,NULL);
+ break;
+ }
+ if (LocaleCompare("fx",option+1) == 0)
+ {
+ new_images=FxImage(_images,arg1,_exception);
+ break;
}
CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option);
}