about summary refs log tree commit diff
path: root/test/ppmdither.test
blob: a93a434a1ada45c440c5e6f0d7b2d0641e305755 (plain) (blame)
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