I’ve already asked this question, but that was about FreeImage. Now I’m trying to do the same thing with ImageMagick (to be more correct, with Magick++).
All I need is to get the RGB value of pixels in an image with the ability to print it out onto the screen. I asked this in the ImageMagick forum, but it seems there is nobody there. 🙁 Can anybody help, please?
Version 6 API
Given an “Image” object, you have to request a “pixel cache“, then work with it. Documentation is here and here:
Version 7 API
Access to pixels has changed in version 7 (see: porting), but low-level access is still present: