Image Magic: Image Report
Posted on 2006-07-12
This is kind of an oddball question, but if you know imagemagic, I imagine it is an easy one. (Could be wrong)
What I would like to do is to have image magic read each pixel of and image, and report the RGB value in html usable form. (ie: 00FF33) On top of that, I would like to print a blurb at the beginning and the end of each "row" of pixels.
So output of a 4 pixel image might be:
It is important that it be easy to decipher where I might be able to add something to the beginning or end of the RGB numbers printed out. (I will probably edit the output eventually)
Any ideas on how to print HTML values for each pixel, with a blurb for beginning and ending a row in the image?