diff options
Diffstat (limited to 'test/sbig-roundtrip.test')
-rwxr-xr-x | test/sbig-roundtrip.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/sbig-roundtrip.test b/test/sbig-roundtrip.test new file mode 100755 index 00000000..1fdaccfd --- /dev/null +++ b/test/sbig-roundtrip.test @@ -0,0 +1,9 @@ +#! /bin/bash +# This script tests: pgmtosbig sbigtopgm +# Also requires: pamchannel pamtopnm + + +# Should produce 1571496937 33838, cksum of testimg.red + +pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \ + pgmtosbig | sbigtopgm | cksum |