Code: Select all
$image->Annotate(font=>'arial.ttf', pointsize=>10, gravity=>'center', fill=>'black', text=>$title);
And even the 'Hello World' alternative:
Code: Select all
$text = 'Works like magick!';
$image->Annotate(font=>'kai.ttf', pointsize=>40, fill=>'green', text=>$text);
I've reinstalled imagemagick, perlmagick and libimage-magick-perl with the same result.
All other PerlMagick commands work perfectly.
I've traced the script with strace -f and there also the process just vanishes.
These are all the ImageMagick packages installed on my system:
- imagemagick 8:6.8.9.9-7ubuntu5.1
imagemagick-6.q16 8:6.8.9.9-7ubuntu5.1
imagemagick-common 8:6.8.9.9-7ubuntu5.1
libimage-magick-perl 8:6.8.9.9-7ubuntu5.1
libimage-magick-q16-perl 8:6.8.9.9-7ubuntu5.1
libmagickcore-6.q16-2:i386 8:6.8.9.9-7ubuntu5.1
libmagickcore-6.q16-2-extra:i386 8:6.8.9.9-7ubuntu5.1
libmagickcore5:i386 8:6.7.7.10-6ubuntu3.1
libmagickwand-6.q16-2:i386 8:6.8.9.9-7ubuntu5.1
libmagickwand5:i386 8:6.7.7.10-6ubuntu3.1
perlmagick 8:6.8.9.9-7ubuntu5.1
php-imagick 3.4.0~rc6-1ubuntu3
php5-imagick 3.1.2-1build1