blob: b37a33e12a18e71c9d268aa472a43eca08cf76f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /bin/bash
# This script tests: pamtowinicon winicontopam
# Also requires: pamcut pnmtile pamtopnm ppmtopgm pgmtopbm
pamcut --left=30 --width=48 --height=48 testimg.ppm | \
pamtowinicon | winicontopam | \
pamtopnm | cksum
pnmtile 32 32 testgrid.pbm | \
pamtowinicon | winicontopam | \
pamtopnm | ppmtopgm | \
pgmtopbm -th -val=0.5 | cksum
|