How do I set the border color for FillToBorderMethod?

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.
Locked
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

How do I set the border color for FillToBorderMethod?

Post by rmagick »

How do I set the border color to be used with DrawColor and the FillToBorderMethod? In MagickCore I'd just set the border_color member in the DrawInfo structure.

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: How do I set the border color for FillToBorderMethod?

Post by magick »

Use the DrawSetBorderColor() and DrawGetBorderColor() methods. Look for them in the ImageMagick 6.5.4-7 release available within a day or two.

rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Re: How do I set the border color for FillToBorderMethod?

Post by rmagick »

Thanks!

Locked