about summary refs log tree commit diff
path: root/test/pict-roundtrip.test
blob: cd207d48d1d24b9850c77afa1886b25df4f27055 (plain) (blame)
1
2
3
4
5
6
7
8
#! /bin/bash
# This script tests: picttoppm ppmtopict
# Also requires: pamseq pamdepth pamtopnm pnmremap


#Test.  Should print 984199586 101484
pamseq 3 5 -tupletype=RGB | pamdepth 255 | pamtopnm | \
  pnmremap -mapfile=- testimg.ppm | ppmtopict | picttoppm | cksum