I have a image with gif format like following:
I want to create a color range with the color #444641
and a fuzziness of 157
. After that, I want to retrieve the count of pixels for each color from the histogram, like the following example:
I tried following command in in cmd:
magick convert "E:/Desktop/inflation/tst/0115.gif" -fill none -draw "matte 444641 157" -format "%c" histogram:info:-
but this command show some info like following!
25: (206,205,201,255) #CECDC9FF srgba(206,205,201,1)
277604: (206,207,202,255) #CECFCAFF srgba(206,207,202,1)
5009: (206,208,203,255) #CED0CBFF srgba(206,208,203,1)
368: (206,211,205,255) #CED3CDFF srgba(206,211,205,1)
905: (207,206,202,255) #CFCECAFF srgba(207,206,202,1)
166: (207,208,203,255) #CFD0CBFF srgba(207,208,203,1)
2131: (207,209,204,255) #CFD1CCFF srgba(207,209,204,1)
289: (207,212,206,255) #CFD4CEFF srgba(207,212,206,1)
10: (208,207,203,255) #D0CFCBFF srgba(208,207,203,1)
93: (208,209,204,255) #D0D1CCFF srgba(208,209,204,1)
1040: (208,210,205,255) #D0D2CDFF srgba(208,210,205,1)
42: (209,210,205,255) #D1D2CDFF srgba(209,210,205,1)
496: (209,211,206,255) #D1D3CEFF srgba(209,211,206,1)
17: (210,211,206,255) #D2D3CEFF srgba(210,211,206,1)
287: (210,212,207,255) #D2D4CFFF srgba(210,212,207,1)
200: (210,213,208,255) #D2D5D0FF srgba(210,213,208,1)
7: (211,212,207,255) #D3D4CFFF srgba(211,212,207,1)
140: (211,214,209,255) #D3D6D1FF srgba(211,214,209,1)
168: (213,216,211,255) #D5D8D3FF srgba(213,216,211,1)
I don’t want this. I need Uncached pixels count number! this mean I need 63031 pixels number in output.
where is my command problem!?