But the logic does not match what I expected.
First : version = ImageMagick 6.9.1-2 Q16 x86 2015-04-14 http://www.imagemagick.org
My goal is to write text vertically rotated 90 degrees clockwise.
I kind of expected the syntax to be this:
Code: Select all
$r = $image->Annotate(
text=>'MyText',
geometry=>90x90+0+200,
font=>'arial.ttf',
fill=>'black',
gravity=>'northwest',
pointsize=>20
);
It was not until I tried rotate parameter.
Code: Select all
$r = $image->Annotate(
text=>'MyText',
geometry=>90x90+0+200,
font=>'arial.ttf',
fill=>'black',
gravity=>'northwest',
rotate=>90, # <<<<<<< NOTICE THIS <<<<<<<<
pointsize=>20
);
It works for me now, but really could use some documentation links here with examples.