#!/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:-