blob: c303c11bf7c1d0fefa1258e814855352b69ba306 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#! /bin/bash
# This script tests: ppmchange
# Also requires: pgmtopbm pnminvert ppmtopgm
${PBM_TESTPREFIX}ppmchange black white white black testgrid.pbm | \
${PBM_BINPREFIX}pnminvert | ${PBM_BINPREFIX}ppmtopgm | \
${PBM_BINPREFIX}pgmtopbm -th -val=0.5 | cksum
${PBM_TESTPREFIX}ppmchange black white white black testgrid.pbm | \
${PBM_TESTPREFIX}ppmchange black white white black -plain | \
${PBM_BINPREFIX}ppmtopgm | ${PBM_BINPREFIX}pgmtopbm -th -val=0.5 | cksum
|