about summary refs log tree commit diff
path: root/test/pamtable.test
blob: 5c66b7aea452531bd6316dda2b95a32df4dc09b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/bash
# This script tests: pamtable
# Also requires: pamgradient pamseq pamdepth

pamtable testgrid.pbm
echo
pamseq 3 2 -tupletype=RGB | pamtable
echo
pamseq 4 1 -tupletype=RGBA | pamtable
echo
for maxval in 9 10 9999 10000 65535
  do pbmmake -g 2 2 | pamdepth $maxval | pamtable
     echo
     ppmrainbow -width=3 -height=2 -norepeat black white | \
     pamdepth $maxval | pamtable
     echo
     ppmrainbow -width=4 -height=2 -norepeat red blue green | \
     pamdepth $maxval | pamtable
     echo
  done