Magick++ Image::extent doesn't work

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
rservus

Magick++ Image::extent doesn't work

Post by rservus »

affected version ImageMagick-6.6.1-7 and possibly previous too. at least ImageMagick-6.5.9-10 has same code.

Please check Image::extent code and compare with similar functionality in mogrify.c

ExtentImage doesn't change original image (isn't it) so we should use something like this in extent method:

MagickCore::Image* newImage = ExtentImage ( image(), &extentInfo, &exceptionInfo );
replaceImage( newImage );
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Magick++ Image::extent doesn't work

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.6.1-8 Beta available by sometime tomorrow. Thanks.
Post Reply