Page 1 of 1

Gradient ist tot?

Posted: 2007-01-02T09:31:26-07:00
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');

Posted: 2007-01-02T10:22:55-07:00
by magick
You found a genuine double-free bug. Will have a fix in ImageMagick 6.3.1-6 Beta today. Thanks.