about summary refs log tree commit diff
path: root/test/pnmcrop1.ok
blob: d02d14b351076c4d449d1f55de9606a1520b4daf (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Test 1
test.pbm

0 0 -7 0 28 25 rgb-1:1/1/1 0.000000
-white
0 0 -7 0 28 25 rgb-1:1/1/1 0.000000
-black
0 0 0 -2 28 30 rgb-1:0/0/0 0.000000
-sides
0 0 -7 0 28 25 rgb-1:1/1/1 0.000000
-top
0 0 -7 0 28 25 rgb-1:1/1/1 0.000000
-bottom
0 0 0 0 28 32 rgb-1:1/1/1 0.000000
-left
0 0 0 0 28 32 rgb-1:1/1/1 0.000000
-right
0 0 0 0 28 32 rgb-1:1/1/1 0.000000
-top -bottom
0 0 -7 0 28 25 rgb-1:1/1/1 0.000000
-bottom -bg-corner=bottomright
0 0 0 -2 28 30 rgb-1:0/0/0 0.000000
-right -bg-corner=bottomright
0 0 0 0 28 32 rgb-1:0/0/0 0.000000
-bg-color=white
0 0 0 0 28 32 rgb-1:1/1/1 0.000000
-bg-color=black
0 0 0 -2 28 30 rgb-1:0/0/0 0.000000
-bg-color=red
0 0 0 0 28 32 rgb-1:0/0/0 0.000000
test.ppm

0 0 0 0 250 161 rgb-255:127/127/127 0.000000
-white
-6 0 0 0 244 161 rgb-255:255/255/255 0.000000
-black
0 -11 0 0 239 161 rgb-255:0/0/0 0.000000
-sides
-6 0 0 0 244 161 rgb-255:255/255/255 0.000000
-top
0 0 0 0 250 161 rgb-255:127/127/127 0.000000
-bottom
0 0 0 0 250 161 rgb-255:127/127/127 0.000000
-left
0 0 0 0 250 161 rgb-255:127/127/127 0.000000
-right
0 0 0 0 250 161 rgb-255:127/127/127 0.000000
-top -bottom
0 0 0 0 250 161 rgb-255:127/127/127 0.000000
-bottom -bg-corner=bottomright
0 0 0 0 250 161 rgb-255:0/0/0 0.000000
-right -bg-corner=bottomright
0 -11 0 0 239 161 rgb-255:0/0/0 0.000000
-bg-color=white
-6 0 0 0 244 161 rgb-255:255/255/255 0.000000
-bg-color=black
0 -11 0 0 239 161 rgb-255:0/0/0 0.000000
-bg-color=red
0 0 0 0 250 161 rgb-255:255/0/0 0.000000
Test 2
test.pbm

3130931737 109
3130931737 109
-white
3130931737 109
3130931737 109
-top
3130931737 109
3130931737 109
test.ppm

1435955776 120765
1435955776 120765
-white
638507845 117867
638507845 117867
-top
1435955776 120765
1435955776 120765
Test Invalid
-reportfull -reportsize
Expected failure:  -reportfull -reportsize 1
-reportfull -borderfile=testgrid.pbm
Expected failure:  -reportfull -borderfile=testgrid.pbm 1
-reportsize -borderfile=testgrid.pbm
Expected failure:  -reportsize -borderfile=testgrid.pbm 1
-black -white
Expected failure:  -black -white 1
-black -sides
Expected failure:  -black -sides 1
-white -bg-color=red
Expected failure:  -white -bg-color=red 1
-white -bg-corner=topleft
Expected failure:  -white -bg-corner=topleft 1
-white -bg-corner=top
Expected failure:  -white -bg-corner=top 1
-blank-image=pasturize
Expected failure:  -blank-image=pasturize 1
-bg-color=black -closeness=-1
Expected failure:  -bg-color=black -closeness=-1 1
-bg-color=black -closeness=101
Expected failure:  -bg-color=black -closeness=101 1