blob: c5a34ad9715d3c37cf1de8a073c774fcd59d0e3e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#! /bin/bash
# This script tests: pamflip
# Also requires:
pamflip -lr testimg.ppm | pamflip -lr | cksum
pamflip -tb testimg.ppm | pamflip -tb | cksum
pamflip -r180 testimg.ppm | \
pamflip -r180 | cksum
pamflip -xy testimg.ppm | pamflip -xy | cksum
pamflip -r90 testimg.ppm | \
pamflip -r90 | \
pamflip -r90 | \
pamflip -r90 | cksum
pamflip -r270 testimg.ppm | \
pamflip -r270 | \
pamflip -r270 | \
pamflip -r270 | cksum
pamflip -lr testgrid.pbm | \
pamflip -lr | cksum
pamflip -tb testgrid.pbm | \
pamflip -tb | cksum
pamflip -r180 testgrid.pbm | \
pamflip -r180 | cksum
pamflip -xy testgrid.pbm | \
pamflip -xy | cksum
pamflip -r90 testgrid.pbm | \
pamflip -r90 | \
pamflip -r90 | \
pamflip -r90 | cksum
pamflip -r270 testgrid.pbm | \
pamflip -r270 | \
pamflip -r270 | \
pamflip -r270 | cksum
|