1 2 3 4 5 6 7 8 9 10 11 12 13
#! /bin/sh # This script tests: pamdepth pgmtopbm # Also requires: for i in 300 500 1023 4095 5000 16383 65535 do pamdepth $i testimg.ppm | \ pamdepth 255 | cksum done pamdepth 255 maze.pbm | pamdepth 1 | \ pgmtopbm -th -val=0.5 | cksum