Use imagemagick instead of ppmcaption.

This commit is contained in:
Simon Howard 2006-05-11 09:24:05 +00:00
parent 47320dd709
commit f2499cddcd

View file

@ -1,10 +1,16 @@
#!/bin/sh #!/bin/sh
ppmcaption base.ppm output.ppm \ DATE=`date +%D`
\
-font ncenB24.bdf -scale 0.34 -fg white -bg black \ convert -fill white -font Helvetica-Bold \
-pos 240,30 -right -text 'http://freedoom.sourceforge.net/' \ -pointsize 30 \
\ -gravity north \
-font ncenB24.bdf -scale 0.34 -fg white -bg black \ -draw "text 0,30 Freedoom" \
-pos -10,-10 -right -text 'Build Date: %a, %b %d %Y' \ -pointsize 11 \
-pos -10,-25 -right -text "Version: $VERSION" -gravity southwest \
-draw "text 5,5 'http://freedoom.sourceforge.net/'" \
-gravity southeast \
-draw "text 10,25 'Version: $VERSION'" \
-draw "text 10,5 '$DATE'" \
base.ppm output.png