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.
Locked
snibgo
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.

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

User avatar
fmw42
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 6.9.4.4 and IM 7.0.1.6 Mac OSX

User avatar
magick
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.

Locked