Image-Magick-PolyText
view release on metacpan or search on metacpan
lib/Image/Magick/PolyText/FreeType.pm view on Meta::CPAN
die $result if $result;
# We have to set the background to none so when the bitmap is rotated,
# the areas filled in where the glyph is moved from are left as white.
$result = $bitmap -> Set(background => 'None');
die $result if $result;
# We set white as transparent so this bitmap has no background, so that
# when it's overlayed on the original image, only the glyph is visible.
$result = $bitmap -> Transparent(color => 'White');
die $result if $result;
$result = $bitmap -> Rotate($rotation);
die $result if $result;
return $bitmap;
( run in 1.181 second using v1.01-cache-2.11-cpan-e5176c747c2 )