about summary refs log tree commit diff
path: root/test/xpm-roundtrip.test
blob: 6e3e415bff2a2005eeefa3f080eaed9a28a4f57b (plain) (blame)
1
2
3
4
5
6
7
8
9
#! /bin/sh
# This script tests: ppmtoxpm xpmtoppm
# Also requires: pgmtopbm ppmtopgm


#ppmtoxpm -hexonly testimg.ppm | \
# xpmtoppm  | cksum
ppmtoxpm maze.pbm | xpmtoppm | \
  ppmtopgm | pgmtopbm -th -value=0.5 | cksum