#!/bin/sh

DATE=`date +%Y/%m/%d`
VERSION=`cat ../../VERSION`

convert -fill white -font Helvetica-Bold                               \
  -pointsize 30                                                        \
    -gravity north                                                     \
      -draw "text 0,30 $1"                                             \
  -pointsize 11                                                        \
    -gravity southwest                                                 \
      -draw "text 5,5 'http://freedoom.sourceforge.net/'"              \
    -gravity southeast                                                 \
      -draw "text 10,25 'Version: $VERSION'"                           \
      -draw "text 10,5 '$DATE'"                                        \
    titlepic.gif $2

