Possible bug sparse-color: IM 6.9.9.33 Q16 Mac OSX Sierra
Posted: 2018-01-13T12:11:48-07:00
In IM 6.9.9.33 sparse-color: misses a pixel at coords: 4,1. But it is fine in IM 7.0.7.21
Input (6x2 pixels black and white):
http://www.fmwconcepts.com/misc_tests/s ... /image.png
Enlarged for viewing:
IM 7 is fine:
0,0,gray(0) 1,0,gray(255) 2,0,gray(255) 3,0,gray(0) 4,0,gray(255) 5,0,gray(255) 0,1,gray(255) 1,1,gray(0) 2,1,gray(0) 3,1,gray(255) 4,1,gray(255) 5,1,gray(0)
or perhaps easier to see:
0,0,gray(0)
1,0,gray(255)
2,0,gray(255)
3,0,gray(0)
4,0,gray(255)
5,0,gray(255)
0,1,gray(255)
1,1,gray(0)
2,1,gray(0)
3,1,gray(255)
4,1,gray(255)
5,1,gray(0)
But in IM 6, that pixel is missing:
0,0,gray(0) 1,0,gray(255) 2,0,gray(255) 3,0,gray(0) 4,0,gray(255) 5,0,gray(255) 0,1,gray(255) 1,1,gray(0) 2,1,gray(0) 3,1,gray(255) 5,1,gray(0)
or
0,0,gray(0)
1,0,gray(255)
2,0,gray(255)
3,0,gray(0)
4,0,gray(255)
5,0,gray(255)
0,1,gray(255)
1,1,gray(0)
2,1,gray(0)
3,1,gray(255)
5,1,gray(0)
Input (6x2 pixels black and white):
http://www.fmwconcepts.com/misc_tests/s ... /image.png
Enlarged for viewing:
IM 7 is fine:
Code: Select all
magick image.png sparse-color:
or perhaps easier to see:
Code: Select all
magick image.png sparse-color: | tr " " "\n"
1,0,gray(255)
2,0,gray(255)
3,0,gray(0)
4,0,gray(255)
5,0,gray(255)
0,1,gray(255)
1,1,gray(0)
2,1,gray(0)
3,1,gray(255)
4,1,gray(255)
5,1,gray(0)
But in IM 6, that pixel is missing:
Code: Select all
convert image.png sparse-color:
or
Code: Select all
convert image.png sparse-color: | tr " " "\n"
1,0,gray(255)
2,0,gray(255)
3,0,gray(0)
4,0,gray(255)
5,0,gray(255)
0,1,gray(255)
1,1,gray(0)
2,1,gray(0)
3,1,gray(255)
5,1,gray(0)