about summary refs log tree commit diff
path: root/test/sbig-roundtrip.test
blob: 1fdaccfd79efc43890803a31cf5e34890148519c (plain) (blame)
1
2
3
4
5
6
7
8
9
#! /bin/bash
# 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