blob: 7a339470a37e6704c880324fc75228c1365f8cfa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /bin/bash
# This script tests: pgmtosbig sbigtopgm
# Also requires: pamchannel
alias sbigtopgm="${PBM_TESTPREFIX}sbigtopgm"
alias pgmtosbig="${PBM_TESTPREFIX}pgmtosbig"
shopt -s expand_aliases
# Should produce 1571496937 33838, cksum of testimg.red
pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \
pgmtosbig | sbigtopgm | cksum
|