Tuesday, February 5, 2008, 09:15 PM - Linux, shell scripts

convert -fill 'rgb(128,128,128)' -background transparent -font FONT.TTF -pointsize 50 label:"EXAMPLE TEXT" -rotate 90 OUTPUT_FILE
-fill Color in rgb notation -background Background color (here transparent background) -font ttf-file (I think you can also use a system font). -pointsize size of the text -label:"" Text which appears in the image -rotate Rotate the image -OUTPUT_FILE filename of the output file (here png because I use a transparent background)
Source: http://imagemagick.org/script/command-line-tools.php
| permalink | related link