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


for i in 300 500 1023 4095 5000 16383 65535
do
pamdepth $i testimg.ppm | \
  pamdepth 255 | cksum
done

pamdepth 255 maze.pbm | pamdepth 1 | \
  pgmtopbm -th -val=0.5 | cksum