List Info

Thread: Perlmagick, annotate and tile




Perlmagick, annotate and tile
user name
2006-07-21 18:10:21
Hi,
I made my first steps trying the annotate command with
perlmagick
with the following code:

my ($image,$p);
my $text;
my $k;

$image=Image::Magick->new;
$p=$image->Read('C:\\tmp\\magick\\fk.jpg');
$k=$image->Read('C:\\tmp\\magick\\paws_grey.gif')
;
$p=$image->Annotate(font=>'arial.ttf',pointsize=>
20, stroke=>'blue',
    tile=>$k,
text=>'Testtesttest',x=>10,y=>100);

I received the following error message:
Exception 410: unrecognized option `tile' at
C:\tmp\magick\magick.pl 
line 40.

I' m using perlmagick 6.2.8 with perl v5.8.7

Can anybody please tell me if I runned into a bug or I made
some bloody
beginners mistake....

Thanks for you help

Frank

_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
Perlmagick, annotate and tile
user name
2006-07-22 00:50:46
On Fri, 21 Jul 2006 20:10:21 +0200, Frank Klobas wrote:

hi Frank

> Can anybody please tell me if I runned into a bug or I
made some
> bloody beginners mistake....

User error, I'm afraid ).

The docs [1] say Composite() and Draw() have a tile option,
but not Annotate().

[1]
file:///C:/Program%20Files/ImageMagick-6.2.7-Q16/www/perl-ma
gick.html
-- 
Cheers
Ron Savage, ronsavage.net.au on 22/07/2006
http://savage.net.au/
index.html
Let the record show: Microsoft is not an Australian company



_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )