blob: a13fc8beb7c6ab00baa68629b3edb1aa721f4cfe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#! /bin/bash
# This script tests: ppmtoilbm ilbmtoppm
# Also requires: pamseq pamdepth pamtopnm pnmremap
#Test. Should produce 1926073387 101484
ppmtoilbm testimg.ppm | ilbmtoppm | cksum
#Test. Should print 984199586 101484
pamseq 3 5 -tupletype=RGB | pamdepth 255 | pamtopnm | \
pnmremap -mapfile=- testimg.ppm | ppmtoilbm | ilbmtoppm | cksum
|