Set/Get specific pixel of a image

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
cam
Posts: 12
Joined: 2013-11-29T23:24:10-07:00
Authentication code: 6789

Set/Get specific pixel of a image

Post by cam »

Hello,

How can i get/set a specific pixel of the image? for example to set the pixel (0,0) or the (134,334) pixel.

Any function to do this?

Thanks.
Flocke
Posts: 4
Joined: 2014-02-21T06:31:18-07:00
Authentication code: 6789

Re: Set/Get specific pixel of a image

Post by Flocke »

If you want a copy of a specific pixel you could just crop out that pixel :D
And if you want one pixel to be set a specific color for example you take out your drawing and pixel wand and draw on the specific pixel :)

Or you take a look into the Pixel cache of your image...
Post Reply