copy-paste the popupmenu from fanfix and implement most of them
[fanfix.git] / src / be / nikiroo / fanfix_swing / images / convert.sh
CommitLineData
3cdf3fd8
NR
1#!/bin/bash
2
3if [ "$1" = "" ]; then
4 echo Syntax: "$0 file1.png file2.png..." >&2
5 exit 1
6fi
7
8while [ "$1" != "" ]; do
9 name="`basename "$1" .png`"
10 for S in 8 16 24 32 64; do
11 convert -resize ${S}x${S} "$name".png "$name"-${S}x${S}.png
12 done
13 shift
14done
15