v7 FX

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Posts: 13034
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

v7 FX

Post by snibgo »

V7 FX misinterprets the "%" modulus operator.


Code: Select all

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

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.
snibgo's IM pages: im.snibgo.com

User avatar
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: v7 FX

Post by fmw42 »

I can confirm this on IM and IM Mac OSX

User avatar
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: v7 FX

Post 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.