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.
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2017-12-31T17:28:19-07:00
Using a variable within an fx expression kills precision. For example:
Code: Select all
f:\prose\PICTURES>%IM%identify -precision 16 -format "%[fx:1/49]" xc:
0.02040816326530612
f:\prose\PICTURES>%IM%identify -precision 16 -format "%[fx:V=1/49;V]" xc:
0.0204082
Tested with v6.9.5-3 Q16 on Windows 8.1.
GeeMack
Posts: 718 Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA
Post
by GeeMack » 2017-12-31T19:00:57-07:00
snibgo wrote: ↑ 2017-12-31T17:28:19-07:00 Tested with v6.9.5-3 Q16 on Windows 8.1.
I get the same results with IM 7.0.7-18 Q16 HDRI, running the commands on Windows 10 64, with "magick identify ...".