1 2 3 4 5 6 7 8 9 10
#! /bin/bash # This script tests: ppmdither # Also requires: alias ppmdither="${PBM_TESTPREFIX}ppmdither" shopt -s expand_aliases ppmdither testimg.ppm | cksum ppmdither -red 2 -green 2 -blue 2 testimg.ppm | cksum ppmdither -dim 2 testimg.ppm | cksum