possible bug %[pixel:...] IM 6.8.6.9 Q16 Mac OSX
Posted: 2013-09-11T20:44:11-07:00
What am I not understanding in the following. Is there some issue with writing information at various stages of a command using %{pixel:...]
convert rose: -format "%[pixel:s.p{10,10}]\n" -write info: \
-separate +channel -evaluate-sequence mean -format "%[pixel:s.p{10,10}]\n" -write info: rose_comb.png
srgb(72,64,57)
srgb(72,64,57)
Why are these two the same? Should not the average of all 3 channels be grayscale and thus r,g,b be the same in the second value?
convert rose_comb.png -format "%r\n" info:
PseudoClass Gray
convert rose_comb.png -format "%[colorspace]\n" info:
sRGB
convert rose_comb.png -format "%[type]\n" info:
Grayscale
convert rose_comb.png -format "%[pixel:s.p{10,10}]\n" info:
srgb(72,64,57)
And again if the resulting image is grayscale, then why are r,g,b not all the same?
convert rose: -format "%[pixel:s.p{10,10}]\n" -write info: \
-separate +channel -evaluate-sequence mean -format "%[pixel:s.p{10,10}]\n" -write info: rose_comb.png
srgb(72,64,57)
srgb(72,64,57)
Why are these two the same? Should not the average of all 3 channels be grayscale and thus r,g,b be the same in the second value?
convert rose_comb.png -format "%r\n" info:
PseudoClass Gray
convert rose_comb.png -format "%[colorspace]\n" info:
sRGB
convert rose_comb.png -format "%[type]\n" info:
Grayscale
convert rose_comb.png -format "%[pixel:s.p{10,10}]\n" info:
srgb(72,64,57)
And again if the resulting image is grayscale, then why are r,g,b not all the same?