Syntax annotate interline-spacing

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
Lifestyle

Syntax annotate interline-spacing

Post by Lifestyle »

Hi,

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

User avatar
magick
Site Admin
Posts: 11149
Joined: 2003-05-31T11:32:55-07:00

Re: Syntax annotate interline-spacing

Post by magick »

Use 'interline-spacing'. Include the quotes.

Lifestyle

Re: Syntax annotate interline-spacing

Post by Lifestyle »

thx,

have done this before with an older version of image-magick, it has not worked there.

So I have not tried again with the current version, cause it's working now i had take a look at the old version, there interline-spacing wasn't implemented,........

sorry for the dumb question,.....,
everything is fine now.

Lifestyle

Re: Syntax annotate interline-spacing

Post by Lifestyle »

Whats the precission of the tag ?

User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Syntax annotate interline-spacing

Post by anthony »

Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

Post Reply