[Newbie] MagickWand, ClipPath and dynamic image...
Posted: 2012-05-08T18:48:27-07:00
Hi,
I am new to ImageMagick. I am using MagickWand for my development. My project requires generating images on the fly in memory (and then doing some image processing on them). I am using bezier curve primitive to draw on the image canvas. All the control points are generated at runtime. I want to now set various clipping paths to this image. Is there a way to do this using MagickWand or MagickCore? The DrawSetClipPath API is used to select/activate an already available clipping path within the image. What I want is to be able to actually set the clipping paths first into the image and then during further rendering, select/activate one of the clipping paths that I set earlier. Is this possible using IM's C APIs? I searched this forum and on internet but was not able to find any answer.
Thanks and regards,
~Plug
I am new to ImageMagick. I am using MagickWand for my development. My project requires generating images on the fly in memory (and then doing some image processing on them). I am using bezier curve primitive to draw on the image canvas. All the control points are generated at runtime. I want to now set various clipping paths to this image. Is there a way to do this using MagickWand or MagickCore? The DrawSetClipPath API is used to select/activate an already available clipping path within the image. What I want is to be able to actually set the clipping paths first into the image and then during further rendering, select/activate one of the clipping paths that I set earlier. Is this possible using IM's C APIs? I searched this forum and on internet but was not able to find any answer.
Thanks and regards,
~Plug