N
nntpman68
Hi,
Normally CPAN documentation is quite good.
However I'm having some problems with ImageMagick.
Could anybody point me to some good concise documentation.
Reading the Imagemagick documentation and guestimating how to pass the
same parameters to the perl equivalemt is not always simple:
Example:
Assume following ImageMagic command:
convert -size 64x64 xc:transparent -pointsize 10 -draw "text 0,20
'hello'" test.png
I'd like to do the same in perl:
my $g = Image::Magick->new;
$g->Set(size=>"64x64");
$g->ReadImage('xc:transparent');
$g->Draw( primitive => 'text', BUT_WHAT_IS_THE_SYNTAX_HERE_???? );
$g->Write("test.png");
and don't really know where to look.
Any hint / document is welcome
bye
N
Normally CPAN documentation is quite good.
However I'm having some problems with ImageMagick.
Could anybody point me to some good concise documentation.
Reading the Imagemagick documentation and guestimating how to pass the
same parameters to the perl equivalemt is not always simple:
Example:
Assume following ImageMagic command:
convert -size 64x64 xc:transparent -pointsize 10 -draw "text 0,20
'hello'" test.png
I'd like to do the same in perl:
my $g = Image::Magick->new;
$g->Set(size=>"64x64");
$g->ReadImage('xc:transparent');
$g->Draw( primitive => 'text', BUT_WHAT_IS_THE_SYNTAX_HERE_???? );
$g->Write("test.png");
and don't really know where to look.
Any hint / document is welcome
bye
N