blob: f2e150789d500885e1284b36c90caf58bcbe7053 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#! /bin/sh
# This script tests: pgmtost4 st4topgm
# Also requires: pamchannel pamtopnm pamcut
# Input image of pgmtost4 must by 192x165
# Should produce 185194654 31695 which is the output of:
# pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | \
# pamtopnm | pamcut -pad 0 0 192 165 | cksum
pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | \
pamtopnm | pamcut -pad 0 0 192 165 | \
pgmtost4 | st4topgm - | cksum
|