User Tools

Site Tools


imagemagick

create image from txt

type text directly in quotes

convert \
    -size 165x70 \
    xc:lightblue \
    -font Bookman-DemiItalic \
    -pointsize 12 \
    -fill blue \
    -gravity center \
    -draw "text 0,0 'It is 28 degrees today'" \
    image.png

or load in a txt file

convert -size 228x170 xc:white -family Verdana -pointsize 18 -fill black -gravity center -draw "text 0,0 '$(cat dynamic-parametricism)'" dynamic-parametricism.png
imagemagick.txt · Last modified: 2013/12/13 22:19 by zoza