diff options
Diffstat (limited to 'test/xpm-roundtrip.test')
-rwxr-xr-x | test/xpm-roundtrip.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/xpm-roundtrip.test b/test/xpm-roundtrip.test new file mode 100755 index 00000000..fd0253b1 --- /dev/null +++ b/test/xpm-roundtrip.test @@ -0,0 +1,9 @@ +#! /bin/bash +# This script tests: ppmtoxpm xpmtoppm +# Also requires: pgmtopbm ppmtopgm + + +#ppmtoxpm -hexonly testimg.ppm | \ +# xpmtoppm | cksum +ppmtoxpm testgrid.pbm | xpmtoppm | \ + ppmtopgm | pgmtopbm -th -value=0.5 | cksum |