dotfiles/bin/createtextimage
michener 83d40113d2 First import
git-svn-id: http://photonzero.com/dotfiles/trunk@1 23f722f6-122a-0410-8cef-c75bd312dd78
2007-03-19 06:17:17 +00:00

6 lines
617 B
Bash
Executable file

#!/bin/bash
#This is a hack for now, as Debian has an older version of ImageMagick. The better (>= IM 6.8.5) way is below
#perl -pe 's/\n/\\n/' | convert -background lightblue -fill blue label:@- $*
#convert -background lightblue -fill blue label:@- $*
#convert -background none -box lightblue -font Courier -fill blue -pointsize 14 text:- -trim +repage -bordercolor lightblue -border 3 -background lightblue -flatten png:-
convert -background none -box white -font Courier -fill black -strokewidth 2 -pointsize 16 text:- -trim +repage -bordercolor white -border 3 -background white -flatten png:-