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


pnmmargin -white 10 testimg.ppm | \
  pnmcrop | cksum
pnmmargin -white 10 testgrid.pbm | \
  pnmcrop | cksum