Syntax annotate interline-spacing
Posted: 2010-06-16T02:30:36-07:00
Hi,
i've got a question regarding the right syntax of annotate:
because the above line is producing the following interpreter error:
[Wed Jun 16 11:26:56 2010] annotate.pl: Bareword "interline" not allowed while "strict subs" in use at annotate.pl line 46.
[Wed Jun 16 11:26:56 2010] annotate.pl: Execution of annotate.pl aborted due to compilation errors.
Could someone tell me the right syntax ??
Perl Version : 5.10.1.1007
Imagemagick: ImageMagick-6.6.2-5-Q16-windows-dll.exe
i've got a question regarding the right syntax of annotate:
Code: Select all
$label->Annotate(text=>"South East\n lol",interline-spacing=>13,gravity=>"SouthEast",x=>$x,y=>$y, rotate=>$angle);
because the above line is producing the following interpreter error:
[Wed Jun 16 11:26:56 2010] annotate.pl: Bareword "interline" not allowed while "strict subs" in use at annotate.pl line 46.
[Wed Jun 16 11:26:56 2010] annotate.pl: Execution of annotate.pl aborted due to compilation errors.
Could someone tell me the right syntax ??
Perl Version : 5.10.1.1007
Imagemagick: ImageMagick-6.6.2-5-Q16-windows-dll.exe