Search found 4 matches

by Flocke
2014-02-21T08:21:01-07:00
Forum: MagickWand
Topic: Set/Get specific pixel of a image
Replies: 1
Views: 10248

Re: Set/Get specific pixel of a image

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...
by Flocke
2014-02-21T07:13:04-07:00
Forum: MagickWand
Topic: How to set font color for caption image?
Replies: 12
Views: 44781

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 =...
by Flocke
2014-02-21T06:56:27-07:00
Forum: MagickWand
Topic: MagickSetImageAlpha Function
Replies: 2
Views: 11211

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() chang...
by Flocke
2014-02-21T06:40:53-07:00
Forum: MagickWand
Topic: MagickSetImageAlpha Function
Replies: 2
Views: 11211

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 usi...