If you want a copy of a specific pixel you could just crop out that pixel
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...
Search found 4 matches
- 2014-02-21T08:21:01-07:00
- Forum: MagickWand
- Topic: Set/Get specific pixel of a image
- Replies: 1
- Views: 11159
- 2014-02-21T07:13:04-07:00
- Forum: MagickWand
- Topic: How to set font color for caption image?
- Replies: 12
- Views: 48051
Re: How to set font color for caption image?
What do you mean by "fill"? If you are trying to get a text on an image I would use the MagickAnnotateImage function like this: 1. read your image into the MagickWand magick_wand then just do something like this double angle, x,y: //position of the capture and angle of the capture p_wand ...
- 2014-02-21T06:56:27-07:00
- Forum: MagickWand
- Topic: MagickSetImageAlpha Function
- Replies: 2
- Views: 12325
Re: MagickSetImageAlpha Function
Well i was looking through the api and found the "MagickTransparentPaintImage" function... MagickBooleanType MagickTransparentPaintImage(MagickWand *wand, const PixelWand *target,const double alpha,const double fuzz, const MagickBooleanType invert) "MagickTransparentPaintImage() changes any pixel ...
- 2014-02-21T06:40:53-07:00
- Forum: MagickWand
- Topic: MagickSetImageAlpha Function
- Replies: 2
- Views: 12325
MagickSetImageAlpha Function
Hey! I want to set the transparecy of an image to a specific value (for example: 1.0 is opaqu and 0.0 is transparent). The documentation tells me that there is an "MagickSetImageAlpha" function, but it doesn't exist (anymore?). I want to make a pattern transparent. Heres my function im using right ...