#! /bin/bash
# Script to automatically create buttons / logo with input text
# Usage:
# Required: convert, imagemagick
#
# Authors:
# FR, radeff@akademia.ch
# History
# 10 mai 2007, 20:25:45: FR, created
#########
echo "Script to automatically create buttons / logo with input text"
echo "************"
echo "Input text to convert"
read text
convert -size 320x85 xc:transparent -font Bookman-DemiItalic -pointsize 72 -draw "text 25,60 '$text'" -channel RGBA -gaussian 0x6 -fill darkred -stroke magenta -draw "text 20,55 '$text'" $text.png
convert -resize 25x25 $text.png favicon.ico
echo "************"
#echo "Finished, $k files converted"
echo "Finished, all files converted"