blob: c5c21fa0055e22e0c6701e80a302bbff60f385c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /bin/bash
# This script tests: g3topbm pbmtog3
# Also requires: pnmcrop
${PBM_TESTPREFIX}pbmtog3 -nofixedwidth testgrid.pbm | \
${PBM_TESTPREFIX}g3topbm -width=14 | diff - testgrid.pbm ; echo $?
${PBM_TESTPREFIX}pbmtog3 -nofixedwidth -reversebits testgrid.pbm | \
${PBM_TESTPREFIX}g3topbm -width=14 -reversebits | diff - testgrid.pbm ; echo $?
${PBM_TESTPREFIX}pbmtog3 testgrid.pbm | \
${PBM_TESTPREFIX}g3topbm | ${PBM_BINPREFIX}pnmcrop -white -right -bottom | \
diff - testgrid.pbm ; echo $?
|