about summary refs log tree commit diff
path: root/test/pad-crop-roundtrip.test
blob: 532b6cbd0ec0342b9b03f264048c598d65a067c7 (plain) (blame)
1
2
3
4
5
6
7
8
#! /bin/bash
# This script tests: pnmcrop pnmmargin
# Also requires: 

${PBM_TESTPREFIX}pnmmargin -white 10 testimg.ppm | \
  ${PBM_TESTPREFIX}pnmcrop | cksum
${PBM_TESTPREFIX}pnmmargin -white 10 testgrid.pbm | \
  ${PBM_TESTPREFIX}pnmcrop | cksum