diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2013-06-29 19:02:18 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2013-06-29 19:02:18 +0000 |
commit | 9602cdc10e7e2321ced1f30053a0b7b22edd433d (patch) | |
tree | 9a947bdd3cb43d45a8bfa3fc4288cac44ae4835e /test/winicon-roundtrip.test | |
parent | fe835f6d3d19026dc3316de80062b44cfa78f7f9 (diff) | |
download | netpbm-mirror-9602cdc10e7e2321ced1f30053a0b7b22edd433d.tar.gz netpbm-mirror-9602cdc10e7e2321ced1f30053a0b7b22edd433d.tar.xz netpbm-mirror-9602cdc10e7e2321ced1f30053a0b7b22edd433d.zip |
New tests
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1964 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/winicon-roundtrip.test')
-rw-r--r-- | test/winicon-roundtrip.test | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/winicon-roundtrip.test b/test/winicon-roundtrip.test new file mode 100644 index 00000000..f5f2926e --- /dev/null +++ b/test/winicon-roundtrip.test @@ -0,0 +1,13 @@ +#! /bin/bash +# This script tests: pamtowinicon winicontopam +# Also requires: pnmcut pnmtile pamtopnm ppmtopgm pgmtopbm + +${PBM_BINPREFIX}pnmcut --left=30 --width=48 --height=48 testimg.ppm | \ +${PBM_TESTPREFIX}pamtowinicon | ${PBM_TESTPREFIX}winicontopam | \ + ${PBM_BINPREFIX}pamtopnm | cksum + +${PBM_BINPREFIX}pnmtile 32 32 testgrid.pbm | \ +${PBM_TESTPREFIX}pamtowinicon | ${PBM_TESTPREFIX}winicontopam | \ + ${PBM_BINPREFIX}pamtopnm | ${PBM_BINPREFIX}ppmtopgm | \ + ${PBM_BINPREFIX}pgmtopbm -th -val=0.5 | cksum + |