about summary refs log tree commit diff
path: root/test/sbig-roundtrip.test
blob: 2611fa891b83fe506783bca299f20c717eb4defd (plain) (blame)
1
2
3
4
5
6
7
8
9
#! /bin/sh
# This script tests: pgmtosbig sbigtopgm
# Also requires: pamchannel pamtopnm


# Should produce 1571496937 33838, cksum of testimg.red

pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | \
  pgmtosbig | sbigtopgm | cksum