Gradient ist tot?

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
User avatar
rmabry
Posts: 148
Joined: 2004-04-13T11:25:27-07:00

Gradient ist tot?

Post by rmabry »

Why should the following not work?

Code: Select all

convert -size 200x200 gradient:red-blue gradient.png
This gives me a major crash in 6.3.1-4,5.

Likewise for the PerlMagick version. The following never lives long enough to die.

Code: Select all

#!/usr/bin/perl -- 
use Image::Magick;
$image = new Image::Magick;
$image->Set(size=>'200x200');
$err = $image->Read('gradient:red-blue');
die "$err" if "$err";
$image->Write('gradient-red-blue.png');
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You found a genuine double-free bug. Will have a fix in ImageMagick 6.3.1-6 Beta today. Thanks.
Post Reply