-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtemplate_different_images.html
155 lines (142 loc) · 4.03 KB
/
template_different_images.html
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>${TestName}</title>
<meta name="Author" content="Pavel Tisnovsky"/>
<meta name="Generator" content="ImageDiffer"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="keywords" content="test, java"/>
<style type="text/css">
<!--
body {
font-family: sans-serif, arial, helvetica, sans-serif;
color: #000000;
background-color: #ffffff;
margin-left: 0px;
margin-top: 0px;
border: 1px;
border-color: #808080;
border-style: solid
}
h1 {
font-family: arial, helvetica, sans-serif;
color: #000000;
background: #80a0a0;
text-align: center;
padding-left: 1em;
margin: 0
}
h2 {
font-family: arial, helvetica, sans-serif;
color: #000000;
background: #80a0a0;
padding-left: 1em;
padding-right: 1cm
}
a {
font-family: arial, helvetica, sans-serif;
color: #0000ff;
text-decoration: none
}
a:link {
color: #0000ff
}
a:visited {
color: #0000ff
}
a:visited {
color: #0000ff
}
a:hover {
color: #ffffff;
background: #404040
}
p {
font-family: arial, helvetica, sans-serif;
color: #000000;
text-align: justify;
padding-left: 1em;
padding-right: 1em
}
.key {
color: #0000aa
}
.value {
color: #aa0000
}
.formular {
background-color: #f0f0dd;
vertical-align: top;
border-collapse: collapse;
border-color: #808080
}
-->
</style>
</head>
<body>
<h1>${TestName}</h1>
<table border="0" frame="border" cellspacing="3" cellpadding="1" class="formular" summary="">
<tr>
<td class="key">Test result:</td>
<td class="value">${ComparisonStatus}</td>
<td rowspan="14"><a href="source1.png"><img src="source1.png" width="300px"/></a></td>
<td rowspan="14"><a href="source2.png"><img src="source2.png" width="300px"/></a></td>
<td rowspan="14"><a href="diff.png"><img src="diff.png" width="300px"/></a></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td class="key">Tested area:</td>
<td class="value">${AreaAsString}</td>
</tr>
<tr>
<td class="key">Different pixels area:</td>
<td class="value">${RectangleAsString}</td>
</tr>
<tr>
<td class="key">Total pixels:</td>
<td class="value">${TotalPixels}</td>
</tr>
<tr>
<td class="key">Masked pixels:</td>
<td class="value">${MaskedPixels}</td>
</tr>
<tr>
<td class="key">Perceptible pixels:</td>
<td class="value">${PerceptibleDiffs}</td>
</tr>
<tr>
<td class="key">Global different pixels:</td>
<td class="value">${DifferentPixels}</td>
</tr>
<tr>
<td class="key">Unperceptible different pixels:</td>
<td class="value">${SmallDifferences}</td>
</tr>
<tr>
<td class="key">Same pixels:</td>
<td class="value">${EqualPixels}</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td class="key">Template (source image1)</td>
<td><a href="source1.png">source1.png</a></td>
</tr>
<tr>
<td class="key">Test sample (source image2)</td>
<td><a href="source2.png">source2.png</a></td>
</tr>
<tr>
<td class="key">Diff. image</td>
<td><a href="diff.png">diff.png</a></td>
</tr>
</table>
<br clear="all"/>
<hr noshade size="1" width="100%"/>
<p>Generated by <strong>ImageDiffer</strong></p>
</body>
</html>