Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
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?
None of the %[xxx] can be used in an expression in fx: computations. You need to store them in a variable and then use the variable in the fx: computation. I would agree that it is too bad. I think it was done that way, since most of the single lower and upper case letters were used already in the string formats. I am not sure if it is even possible to add more names to -fx. If possible that would be nice. But note that for example %[mean] has range 0 to quantum range and %[fx:mean] is in the range 0 to 1. Though that is not something that could not be overcome as %[fx:mean*quantumrange].