~flimm/ooo-thumbnailer/releases

« back to all changes in this revision

Viewing changes to ooo-thumbnailer

  • Committer: David D Lowe
  • Date: 2009-09-26 18:51:25 UTC
  • mto: This revision was merged to the branch mainline in revision 2.
  • Revision ID: daviddlowe.flimm@gmail.com-20090926185125-owr17l73ba3wo4ji
Removed dependency on totem-gstreamer, using imagemagick instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
# documents in the Templates directory are ignored
34
34
if [ `dirname "$ifile"` != ${XDG_TEMPLATES_DIR:-$HOME/Templates} ]; then
35
35
  # use imagemagick if it's installed
 
36
  # (currently, always the case until GNOME bug #576750 is fixed and 
 
37
  # dependency on imagemagick is removed)
36
38
  if [ -x /usr/bin/convert ]; then
37
39
    if [ "$size" == "" ]; then
38
40
      unzip -p "$ifile" Thumbnails/thumbnail.png | convert - +matte "png:$ofile"