blob: 9c075c82efd89df9ea1f71476f944ed42487ecb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
options='-gravity center -extent 140%x140%'
for input
do
case "$input" in
*.*) output=${input%.*}.margins.${input##*.} ;;
*) output=$input.margins.png ;;
esac
convert "$input" $options "$output"
done
|