about summary refs log tree commit diff
path: root/test/ppmchange-roundtrip.test
blob: 5bd18150a94e6edeb38eab9922ade4074d22f73e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh
# This script tests: ppmchange
# Also requires: pgmtopbm pnminvert ppmtopgm


ppmchange black white white black maze.pbm | \
pnminvert | ppmtopgm | \
pgmtopbm -th -val=0.5 | cksum

ppmchange  black white white black maze.pbm | \
ppmchange  black white white black | \
ppmtopgm | pgmtopbm -th -val=0.5 | cksum