Page 1 of 1

v7 FX

Posted: 2016-05-26T08:58:29-07:00
by snibgo
V7 FX misinterprets the "%" modulus operator.

v6.9.2-5:

Code: Select all

%IM%convert -size 1x1000 gradient: -fx "int(u*500)%50==0?1:u" x2.png
v7.0.1-4:

Code: Select all

%IMG7%magick -size 1x1000 gradient: -fx "int(u*500)%50==0?1:u" x2.png

magick: unknown image property "%5" @ warning/property.c/InterpretImageProperties/3476.

Re: v7 FX

Posted: 2016-05-26T09:51:22-07:00
by fmw42
I can confirm this on IM 6.9.4.4 and IM 7.0.1.6 Mac OSX

Re: v7 FX

Posted: 2016-05-26T16:45:20-07:00
by magick
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.