From 978594a13eb12d6b1718dc165696dc64a6e8bc25 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 5 May 2010 15:56:39 +0200 Subject: [PATCH] Update iimage version to 38. iimage v38 uses convert with -resize instead of -geometry, addressing an annnoying resizing issue. --- usr_bin/iimage | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr_bin/iimage b/usr_bin/iimage index 77a74ab..e71edeb 100755 --- a/usr_bin/iimage +++ b/usr_bin/iimage @@ -49,7 +49,7 @@ # ###################################################################### -SVN_ID="$Id: iimage 37 2006-08-22 13:50:17Z ronsc $" +SVN_ID="$Id: iimage 38 2009-12-15 20:30:46Z ronsc $" # old templates might still use CVS_VERSION CVS_VERSION="$SVN_ID" @@ -112,7 +112,7 @@ function AVI_handler_prepare() { mplayer -quiet -frames 1 -ao none -vo jpeg -jpeg outdir=$DATADIR $1 >/dev/null 2>/dev/null if [ -f "$DATADIR/00000001.jpg" ] ; then - convert "$DATADIR/00000001.jpg" -geometry $THUMBNAIL_GEOMETRY "$DST" + convert "$DATADIR/00000001.jpg" -resize $THUMBNAIL_GEOMETRY "$DST" fi rm -f $DATADIR 00000001.jpg 00000002.jpg @@ -533,7 +533,7 @@ function build_thumbnail() { echo -n " T" convert -quality $THUMBNAIL_QUALITY \ - -geometry "$GEOMETRY+0+0>" "$LASTIMAGE" \ + -resize "$GEOMETRY+0+0>" "$LASTIMAGE" \ "$DST" # +profile "$LASTIMAGE" \ -- 2.1.4