Is it possible to render text without X11 installed?
Posted: 2014-09-10T20:08:58-07:00
I have a headless VPS with Arch Linux. I try to render text on to some images with command mogrify and option "label":
, but all I get are error messages:
and
Code: Select all
mogrify -path ./splice -verbose -filter Lanczos -resize 320x240 -fill blue -font /usr/share/fonts/TTF/FreeMono.ttf label:text -splice 1x1 -format bmp image.jpg
Code: Select all
mogrify: no encode delegate for this image format `LABEL' @ error/constitute.c/WriteImage/1166.
Code: Select all
mogrify: unable to read font `(null)' @ error/annotate.c/RenderFreetype/1127.