about summary refs log tree commit diff
path: root/test/pamfile.test
blob: ac92717201cd8abeabc9772baa3a606024d8feea (plain) (blame)
1
2
3
4
5
6
7
8
9
#! /bin/bash
# This script tests: pamfile
# Also requires: pamchannel pamtopnm


pamfile testimg.ppm
pamfile testgrid.pbm
pamchannel -infile=testimg.ppm -tupletype="GRAYSCALE" 0 | pamtopnm | pamfile
pamchannel -tupletype="GRAYSCALE" -infile=testimg.ppm 0 | pamfile