about summary refs log tree commit diff
path: root/test/pnmtopnm-plain.test
blob: 87b740642fe3fb38b75a1710c06bbf84aa4af158 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /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