#! /bin/sh
# This script tests: pamtopnm
# Also requires: pbmmake pgmramp ppmpat

echo "Test.  Should print three identical images in plain format, twice each"

pbmmake -g 5 5 -plain
pbmmake -g 5 5 | pamtopnm -plain

pgmramp -maxval 7 -diag 8 8 -plain
pgmramp -maxval 7 -diag 8 8 | pamtopnm -plain

ppmpat -g2 -color=rgb:00/1f/ff,rgb:3f/00/00 -mesh 4 4 -plain
ppmpat -g2 -color=rgb:00/1f/ff,rgb:3f/00/00 -mesh 4 4 | pamtopnm -plain
