problem with `Spread'
Posted: 2007-12-10T14:07:36-07:00
Hi. I'm unable to get Spread to vary with different values for the `amount' parameter. No matter what number I pass as the amount, the spread always appears to be about 4 pixels. Any ideas? Sample code follows. Thank you.
Code: Select all
#!/usr/bin/perl
use strict;
use warnings;
use Image::Magick;
my $image = Image::Magick->new(size=>'320x200');
$image->Read ('xc:white');
$image->Annotate (text=>"Hello, World!",
font=>"Courier",
pointsize=>32,
fill=>'black',
gravity=>'north');
$image->Spread (amount=>60.2);
$image->Write ("x:");
undef ($image);