"distortion" can't be used in fx
Posted: 2019-07-18T16:19:27-07:00
We can do a "compare" in a magick command like this:
The "distortion" is always a number, but for some reason we can't use it in an fx expression:
Being able to use it in an fx expression would simplify things when we need to compare the distortion number to a limit. Can this be corrected, please?
Tested with IM v7.0.7-28 on Windows 8.1.
Code: Select all
magick rose: rose: -metric RMSE -compare -format %[distortion] info:
0
Code: Select all
magick rose: rose: -metric RMSE -compare -format %[fx:distortion] info:
magick: unable to parse expression `distortion' @ error/fx.c/FxGetSymbol/1833.
Tested with IM v7.0.7-28 on Windows 8.1.