HTTP-404 has asked for the wisdom of the Perl Monks concerning the following question:
Thank You very muchuse Image::Magick; #$image->Quantize(colorspace=>'gray'); $image = Image::Magick->new; $image->Set(size=>'100x100'); $image->ReadImage('xc:white'); $image->Set('pixel[49,49]'=>'red'); $text = 'Dude'; $image->Annotate(font=>'test.ttf', pointsize=>40, stroke=>'green', tex +t=>$text); //Removing this section doesn't crach Perl $filename = "test.png"; open(DATA, ">$filename"); $image->Write(file=>DATA, filename=>$filename); close(DATA);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: AS Perl 629 Image::Magick makes Perl crash when outputting file to Image
by descartes (Friar) on Aug 29, 2001 at 16:57 UTC | |
|
Re: AS Perl 629 Image::Magick makes Perl crash when outputting file to Image
by bwana147 (Pilgrim) on Aug 29, 2001 at 12:27 UTC |