MagickSetImageClipMask
Posted: 2011-10-24T05:42:34-07:00
There are a couple of trivial errors where wand is used instead of clip_mask in MagickSetImageClipMask (wand/magick-image.c). The version is ImageMagick-6.6.5-7 on CentOS 5.6.
The second: should be And the line: should read .
The second:
Code: Select all
if (wand->debug != MagickFalse)
Code: Select all
if (clip_mask->debug != MagickFalse)
Code: Select all
ThrowWandException(WandError,"ContainsNoImages",wand->name);
Code: Select all
ThrowWandException(WandError,"ContainsNoImages",clip_mask->name);