diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-06-28 23:54:29 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-06-28 23:54:29 +0000 |
commit | be0a23cddaf0182d1fda4f623a3b23f67db91d73 (patch) | |
tree | 5d46db6bd85005728f7821965e66e3e5f0018d62 /test/pad-crop-roundtrip.test | |
parent | b13ba8b9b606c916e0bda39348ee009e920df22e (diff) | |
download | netpbm-mirror-be0a23cddaf0182d1fda4f623a3b23f67db91d73.tar.gz netpbm-mirror-be0a23cddaf0182d1fda4f623a3b23f67db91d73.tar.xz netpbm-mirror-be0a23cddaf0182d1fda4f623a3b23f67db91d73.zip |
Promote Development to Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3647 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'test/pad-crop-roundtrip.test')
-rwxr-xr-x | test/pad-crop-roundtrip.test | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/test/pad-crop-roundtrip.test b/test/pad-crop-roundtrip.test index c7780d68..75979901 100755 --- a/test/pad-crop-roundtrip.test +++ b/test/pad-crop-roundtrip.test @@ -1,9 +1,18 @@ #! /bin/bash -# This script tests: pnmcrop pnmmargin -# Also requires: pnmpad - +# This script tests: pnmcrop pnmmargin pnmpad +# Also requires: pnmmargin -white 10 testimg.ppm | \ pnmcrop | cksum + +pnmpad -white -left 10 -top 10 testimg.ppm | \ + pnmpad -white -right 10 -bottom 10 | \ + pnmcrop -right -bottom | pnmcrop -left -top | cksum + pnmmargin -white 10 testgrid.pbm | \ pnmcrop | cksum + +pnmpad -white -left 10 -top 10 testgrid.pbm | \ + pnmpad -white -right 10 -bottom 10 | \ + pnmcrop -left -right | pnmcrop -top -bottom | cksum + |