In command line you can get it simply from the txt: image format.

see http://www.imagemagick.org/Usage/files/#txt

for example using the IM internal image rose:

convert rose: txt:-

or using -fx and debug

convert rose: -fx "debug(u)" null:

note: x and y coords are reversed in the latter listing.




>Is it possible to get a list of x-coord, y-coord, color code for each pixel
>contained in an image using IM? (I know, depending on the image, the list
>can be VERY long, but if I had a list like that an algorithm could work
>through that list and manip the image so that it is useful for OCR).
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to