Possible bug with tile crop and/or fx:standard_deviation
Posted: 2018-12-10T13:18:21-07:00
Version: ImageMagick 7.0.4-8 Q16 x64 2017-02-13
Windows 10 pro
I might have found a bug. I've got a script that makes the following call to magick.exe:
... to get the standard deviation of each column of pixels in infile.bmp.
Nine times out of ten, this works just fine, but sometimes (4 in 33, so far, to be exact) outputs:
... for all 995ish lines of the file. I would expect some of the columns (the first 14 and the last 288) to be extremely low as I have drawn a solid-color mask on the images before this command, but it seems to be seeing the same uniform line over and over for the whole image.
Here is an example infile where it fails: https://1drv.ms/u/s!As3ZytCDCPbLj6N-sMEuPv2j3N6bRg. It fails consistently on this file.
Windows 10 pro
I might have found a bug. I've got a script that makes the following call to magick.exe:
Code: Select all
magick.exe infile.bmp -crop 1x +repage -format "%[fx:standard_deviation]\n" info: >infile-cols.txt
Nine times out of ten, this works just fine, but sometimes (4 in 33, so far, to be exact) outputs:
Code: Select all
-1.5259e-005
-1.5259e-005
-1.5259e-005
.
.
.
-1.5259e-005
Here is an example infile where it fails: https://1drv.ms/u/s!As3ZytCDCPbLj6N-sMEuPv2j3N6bRg. It fails consistently on this file.