diff options
| author | Daniel Byron <=> | 2015-07-17 17:37:57 +1000 |
|---|---|---|
| committer | Daniel Byron <=> | 2015-07-17 17:37:57 +1000 |
| commit | a9f15e2c2a670f9796a0e898fa6cf39fb79e579f (patch) | |
| tree | 46f5255463c45e93e2e2eb35faca978caebe1067 /tests/image | |
| download | schemer2-a9f15e2c2a670f9796a0e898fa6cf39fb79e579f.tar.xz schemer2-a9f15e2c2a670f9796a0e898fa6cf39fb79e579f.zip | |
Moved from Bitbucket to Github
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 |