color of each pixel in an image
Posted: 2015-02-02T12:11:09-07:00
Hi all,
I run ImageMagick on LinuxMint. I want to know if there is a way for ImageMagick to return the color of each pixel in an image. I want to use this information to construct a physical mosaic (not on the computer) without making reference to the original image. So the output would need to be human readable. So it would be helpful if the output started from the bottom line of the image and gave all the pixel colors in order from left to right, and then proceeded to the second bottom most line, etc. It would also be helpful if a summary was given at the each of how many pixels were X color, Y color, Z color, etc. I am thinking that I will use an image that has only 16, 24, or 32 colors.
Thanks,
Matthew
I run ImageMagick on LinuxMint. I want to know if there is a way for ImageMagick to return the color of each pixel in an image. I want to use this information to construct a physical mosaic (not on the computer) without making reference to the original image. So the output would need to be human readable. So it would be helpful if the output started from the bottom line of the image and gave all the pixel colors in order from left to right, and then proceeded to the second bottom most line, etc. It would also be helpful if a summary was given at the each of how many pixels were X color, Y color, Z color, etc. I am thinking that I will use an image that has only 16, 24, or 32 colors.
Thanks,
Matthew