diff options
Diffstat (limited to 'tests/image')
| -rw-r--r-- | tests/image/Image2Image.sh | 11 | ||||
| -rw-r--r-- | tests/image/testinput.png | bin | 0 -> 10824 bytes |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/image/Image2Image.sh b/tests/image/Image2Image.sh new file mode 100644 index 0000000..212decd --- /dev/null +++ b/tests/image/Image2Image.sh @@ -0,0 +1,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 -in=img:testinput.png -outputImage=testout$i.png -w=$1 -h=$2 + done +fi diff --git a/tests/image/testinput.png b/tests/image/testinput.png Binary files differnew file mode 100644 index 0000000..2410c1f --- /dev/null +++ b/tests/image/testinput.png |