MagickSetImageClipMask

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
systemsim
Posts: 1
Joined: 2011-10-24T05:25:58-07:00
Authentication code: 8675308

MagickSetImageClipMask

Post by systemsim »

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:

Code: Select all

if (wand->debug != MagickFalse)
should be

Code: Select all

if (clip_mask->debug != MagickFalse)
And the line:

Code: Select all

ThrowWandException(WandError,"ContainsNoImages",wand->name);
should read

Code: Select all

ThrowWandException(WandError,"ContainsNoImages",clip_mask->name);
.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MagickSetImageClipMask

Post by magick »

Thanks, we'll get a patch in Subversion by sometime tomorrow.
Post Reply