aboutsummaryrefslogtreecommitdiff
path: root/tests/image/Image2Image.sh
blob: 93c8ec944b94f709eeddb70b25ef5a30f1458028 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env sh

if (( $# < 2 ))  
then
  echo "Error, missing parameters. Example: ./Image2Image.sh width height"
else
  for i in `seq 1 10`;
  do
    schemer2 -minBright=0 -format img::img -in testinput.png -out testout$i.png -width=$1 -height=$2
  done
fi