Add darker gray border color instead of white.

This commit is contained in:
Bram Senders 2010-05-28 15:49:53 +02:00
parent 14112eb6b6
commit b10b96103b
1 changed files with 2 additions and 2 deletions

View File

@ -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