From b10b96103b7c23f43b0fc68de664b9889e2275b2 Mon Sep 17 00:00:00 2001 From: Bram Senders Date: Fri, 28 May 2010 15:49:53 +0200 Subject: [PATCH] Add darker gray border color instead of white. --- resize-images.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resize-images.sh b/resize-images.sh index e7051e8..ee9862d 100755 --- a/resize-images.sh +++ b/resize-images.sh @@ -10,6 +10,6 @@ NEWSIZE=500 for f in $*; do echo "Converting $f" i=`basename $f .jpg` - convert $f -crop "$ORIGSIZE"x"$ORIGSIZE"+"$ORIGLX"+"$ORIGLY" +repage -resize "$NEWSIZE"x"$NEWSIZE" -bordercolor white -border 1 "$i"-l.png - convert $f -crop "$ORIGSIZE"x"$ORIGSIZE"+"$ORIGRX"+"$ORIGRY" +repage -resize "$NEWSIZE"x"$NEWSIZE" -bordercolor white -border 1 "$i"-r.png + convert $f -crop "$ORIGSIZE"x"$ORIGSIZE"+"$ORIGLX"+"$ORIGLY" +repage -resize "$NEWSIZE"x"$NEWSIZE" -bordercolor snow4 -border 1 "$i"-l.png + convert $f -crop "$ORIGSIZE"x"$ORIGSIZE"+"$ORIGRX"+"$ORIGRY" +repage -resize "$NEWSIZE"x"$NEWSIZE" -bordercolor snow4 -border 1 "$i"-r.png done