Annotate autosize
Posted: 2010-07-28T18:55:27-07:00
The IM command line command
will make a white image with the text "MakeThisWork" across it in black. The magick piece here is if you don't give the label a pointsize it will autosize the text to fit inside the image.
Is there away to make this auto-sizing bit work in perlmagick? I've experimented with a whole bunch of options, but not been successful, it seems to really want to have a pointsize given to it.
Thanks in advance.
Code: Select all
convert -size 300x300 xc:white -fill black -gravity center label:MakeThisWork example.png
Is there away to make this auto-sizing bit work in perlmagick? I've experimented with a whole bunch of options, but not been successful, it seems to really want to have a pointsize given to it.
Thanks in advance.