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