~ted/dot-thumbnailer/trunk

« back to all changes in this revision

Viewing changes to dot-thumbnailer

  • Committer: Ted Gould
  • Date: 2010-11-05 15:46:50 UTC
  • Revision ID: ted@gould.cx-20101105154650-ufp5ddgccsnf0hac
Removing a comment as it's in a VCS now

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
resize=`printf "%sx%s" "$size" "$size"`
12
12
 
13
 
# dot -Tsvg "$ifile" > "$ofile"
14
 
# convert -format svg "$ofile" -resize "$resize" -render -format png "$ofile"
15
 
# inkscape -w $size -h $size --export-png=$ofile $ofile
16
13
dot -Tsvg "$ifile" | rsvg-convert -a --background-color=white -w $size -h $size --format=png > "$ofile"