I was doing some testing between fx and string formats to see about consistent notation. The documentation says that for fx one needs maxima, minima and standard_deviation. And for string formats it says max, min and standard-deviation. It would appear that maxima and minima actually also work string formats. It would be nice if the string formats would also accept standard_deviation. I am willing to edit the docs if this can be done.
FX:
convert rose: -format "%[fx:maxima]\n" info:
1
convert rose: -format "%[fx:minima]\n" info:
0.0862745
convert rose: -format "%[fx:standard_deviation]\n" info:
0.233019
String Formats:
convert rose: -format "%[max]\n" info:
65535
convert rose: -format "%[maxima]\n" info:
65535
convert rose: -format "%[min]\n" info:
5654
convert rose: -format "%[minima]\n" info:
5654
convert rose: -format "%[standard-deviation]\n" info:
15270.9
convert rose: -format "%[standard_deviation]\n" info:
convert: unknown image property "%[standard_deviation]" @ warning/property.c/InterpretImageProperties/3367.
standard_deviation vs standard-deviation IM 6.8.7.4 Q16
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
standard_deviation vs standard-deviation IM 6.8.7.4 Q16
Last edited by fmw42 on 2013-11-07T15:02:16-07:00, edited 1 time in total.
Re: standard_deviation vs standard-deviation
I just added standard_deviation, the next release of ImageMagick will include this. Please update the documentation.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: standard_deviation vs standard-deviation IM 6.8.7.4 Q16
Both IM 6 and IM 7 docs are now updated. Should be available publicly by tomorrow at the latest.