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)