Hi everyone...
I want to change the color of pixel at given x,y position in the image. i want to change all 3 r,g,b values. Can anyone please explain how can i do this in C language with Imagemagick...
Thanks in advance.
Change Pixel color
-
- Posts: 43
- Joined: 2011-10-01T14:34:04-07:00
- Authentication code: 8675308
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Change Pixel color
The simplest way in C is to probably to use a MagickWand library, and then call 'Draw' to set the pixel.
However I don't have an example of this as I don't use MagickWand myself.
However I don't have an example of this as I don't use MagickWand myself.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/