blob: 6330aaf9497308d6dba65d432484677ec25af674 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /bin/bash
# This script tests: pamdepth pgmtopbm
# Also requires:
alias pamdepth="${PBM_TESTPREFIX}pamdepth"
alias pgmtopbm="${PBM_TESTPREFIX}pgmtopbm"
shopt -s expand_aliases
for i in 300 500 1023 4095 5000 16383 65535
do
pamdepth $i testimg.ppm | \
pamdepth 255 | cksum
done
pamdepth 255 testgrid.pbm | pamdepth 1 | \
pgmtopbm -th -val=0.5 | cksum
|