Apply a MagickWand to a DrawingWand

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.
Posts: 6
Joined: 2012-12-12T05:27:11-07:00
Authentication code: 6789

Apply a MagickWand to a DrawingWand

Post by J2T »

Hi folks,

is there a way to apply a MagickWand into a DrawingWand i may overlooked? I only found "MagickDrawImage(x)" where i can apply a DrawingWand into a MagickWand.

The reason is that i have a bitmap font where i like to apply a stroke. Therefore i load the bitmap font texture into a MagickWand and then i like to put it into such a DrawingWand to apply the stroke.

Currently i simulate the stroke through a shadow and through leveling the alpha channel. I think using the native stroke is more robust.

(Yes i know, a DrawingWand directly supports font rendering with nice effects, but i'm forced to used a given font bitmap)

thanks for your advice.