aboutsummaryrefslogtreecommitdiff
path: root/tests/image
diff options
context:
space:
mode:
authorDaniel Byron <=>2015-07-17 17:37:57 +1000
committerDaniel Byron <=>2015-07-17 17:37:57 +1000
commita9f15e2c2a670f9796a0e898fa6cf39fb79e579f (patch)
tree46f5255463c45e93e2e2eb35faca978caebe1067 /tests/image
downloadschemer2-a9f15e2c2a670f9796a0e898fa6cf39fb79e579f.tar.xz
schemer2-a9f15e2c2a670f9796a0e898fa6cf39fb79e579f.zip
Moved from Bitbucket to Github
Diffstat (limited to 'tests/image')
-rw-r--r--tests/image/Image2Image.sh11
-rw-r--r--tests/image/testinput.pngbin0 -> 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
new file mode 100644
index 0000000..2410c1f
--- /dev/null
+++ b/tests/image/testinput.png
Binary files differ