summaryrefslogtreecommitdiffstats
path: root/image/test/reftest/encoders-lossless/reftest.list
blob: fe8fbc5bc56f340b1c6de9f05c5197d889f27a3a (plain)
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# Encoder ref tests
# These reftests must be run as HTTP because of canvas' origin-clean security
# file:// URLs are always considered from a different origin unless same URL
#
# The test will copy a PNG image to a canvas, then use canvas.toDataUrl to get 
# the data, then set the data to a new image hence invoking the appropriate 
# encoder.
#
# The tests should only be used with lossless encoders.
#
# Valid arguments for encoder.html in the query string:
# - img=<reference image to use>
# - mime=<mime type>
# - options=<canvas toDataURL encoder options>
# Example: 
# encoder.html?img=escape(reference_image.png)
#             &mime=escape(image/vnd.microsoft.icon)
#             &options=escape(-moz-parse-options:bpp=24;format=png)

# PNG
HTTP == size-1x1.png   encoder.html?img=size-1x1.png&mime=image/png
HTTP == size-2x2.png   encoder.html?img=size-2x2.png&mime=image/png
HTTP == size-3x3.png   encoder.html?img=size-3x3.png&mime=image/png
HTTP == size-4x4.png   encoder.html?img=size-4x4.png&mime=image/png
HTTP == size-5x5.png   encoder.html?img=size-5x5.png&mime=image/png
HTTP == size-6x6.png   encoder.html?img=size-6x6.png&mime=image/png
HTTP == size-7x7.png   encoder.html?img=size-7x7.png&mime=image/png
HTTP == size-8x8.png   encoder.html?img=size-8x8.png&mime=image/png
HTTP == size-9x9.png   encoder.html?img=size-9x9.png&mime=image/png
HTTP == size-15x15.png encoder.html?img=size-15x15.png&mime=image/png
HTTP == size-16x16.png encoder.html?img=size-16x16.png&mime=image/png
HTTP == size-17x17.png encoder.html?img=size-17x17.png&mime=image/png
HTTP == size-31x31.png encoder.html?img=size-31x31.png&mime=image/png
HTTP == size-32x32.png encoder.html?img=size-32x32.png&mime=image/png
HTTP == size-33x33.png encoder.html?img=size-33x33.png&mime=image/png

# BMP using default parse options
HTTP == size-1x1.png   encoder.html?img=size-1x1.png&mime=image/bmp
HTTP == size-2x2.png   encoder.html?img=size-2x2.png&mime=image/bmp
HTTP == size-3x3.png   encoder.html?img=size-3x3.png&mime=image/bmp
HTTP == size-4x4.png   encoder.html?img=size-4x4.png&mime=image/bmp
HTTP == size-5x5.png   encoder.html?img=size-5x5.png&mime=image/bmp
HTTP == size-6x6.png   encoder.html?img=size-6x6.png&mime=image/bmp
HTTP == size-7x7.png   encoder.html?img=size-7x7.png&mime=image/bmp
HTTP == size-8x8.png   encoder.html?img=size-8x8.png&mime=image/bmp
HTTP == size-9x9.png   encoder.html?img=size-9x9.png&mime=image/bmp
HTTP == size-15x15.png encoder.html?img=size-15x15.png&mime=image/bmp
HTTP == size-16x16.png encoder.html?img=size-16x16.png&mime=image/bmp
HTTP == size-17x17.png encoder.html?img=size-17x17.png&mime=image/bmp
HTTP == size-31x31.png encoder.html?img=size-31x31.png&mime=image/bmp
HTTP == size-32x32.png encoder.html?img=size-32x32.png&mime=image/bmp
HTTP == size-33x33.png encoder.html?img=size-33x33.png&mime=image/bmp

# BMP using image/bmp mime type and 32bpp parse options
HTTP == size-1x1.png   encoder.html?img=size-1x1.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-2x2.png   encoder.html?img=size-2x2.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-3x3.png   encoder.html?img=size-3x3.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-4x4.png   encoder.html?img=size-4x4.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-5x5.png   encoder.html?img=size-5x5.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-6x6.png   encoder.html?img=size-6x6.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-7x7.png   encoder.html?img=size-7x7.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-8x8.png   encoder.html?img=size-8x8.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-9x9.png   encoder.html?img=size-9x9.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-15x15.png encoder.html?img=size-15x15.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-16x16.png encoder.html?img=size-16x16.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-17x17.png encoder.html?img=size-17x17.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-31x31.png encoder.html?img=size-31x31.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-32x32.png encoder.html?img=size-32x32.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32
HTTP == size-33x33.png encoder.html?img=size-33x33.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D32

# BMP using image/bmp mime type and 24bpp parse options
HTTP == size-1x1.png   encoder.html?img=size-1x1.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-2x2.png   encoder.html?img=size-2x2.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-3x3.png   encoder.html?img=size-3x3.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-4x4.png   encoder.html?img=size-4x4.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-5x5.png   encoder.html?img=size-5x5.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-6x6.png   encoder.html?img=size-6x6.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-7x7.png   encoder.html?img=size-7x7.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-8x8.png   encoder.html?img=size-8x8.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-9x9.png   encoder.html?img=size-9x9.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-15x15.png encoder.html?img=size-15x15.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-16x16.png encoder.html?img=size-16x16.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-17x17.png encoder.html?img=size-17x17.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-31x31.png encoder.html?img=size-31x31.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-32x32.png encoder.html?img=size-32x32.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24
HTTP == size-33x33.png encoder.html?img=size-33x33.png&mime=image/bmp&options=-moz-parse-options%3Abpp%3D24

# ICO using default parse options
HTTP == size-1x1.png   encoder.html?img=size-1x1.png&mime=image/vnd.microsoft.icon
HTTP == size-2x2.png   encoder.html?img=size-2x2.png&mime=image/vnd.microsoft.icon
HTTP == size-3x3.png   encoder.html?img=size-3x3.png&mime=image/vnd.microsoft.icon
HTTP == size-4x4.png   encoder.html?img=size-4x4.png&mime=image/vnd.microsoft.icon
HTTP == size-5x5.png   encoder.html?img=size-5x5.png&mime=image/vnd.microsoft.icon
HTTP == size-6x6.png   encoder.html?img=size-6x6.png&mime=image/vnd.microsoft.icon
HTTP == size-7x7.png   encoder.html?img=size-7x7.png&mime=image/vnd.microsoft.icon
HTTP == size-8x8.png   encoder.html?img=size-8x8.png&mime=image/vnd.microsoft.icon
HTTP == size-9x9.png   encoder.html?img=size-9x9.png&mime=image/vnd.microsoft.icon
HTTP == size-15x15.png encoder.html?img=size-15x15.png&mime=image/vnd.microsoft.icon
HTTP == size-16x16.png encoder.html?img=size-16x16.png&mime=image/vnd.microsoft.icon
HTTP == size-17x17.png encoder.html?img=size-17x17.png&mime=image/vnd.microsoft.icon
HTTP == size-31x31.png encoder.html?img=size-31x31.png&mime=image/vnd.microsoft.icon
HTTP == size-32x32.png encoder.html?img=size-32x32.png&mime=image/vnd.microsoft.icon
HTTP == size-33x33.png encoder.html?img=size-33x33.png&mime=image/vnd.microsoft.icon
HTTP == size-256x256.png encoder.html?img=size-256x256.png&mime=image/vnd.microsoft.icon

# ICO using image/vnd.microsoft.icon mime type and 32bpp parse options with bmp 
HTTP == size-1x1.png   encoder.html?img=size-1x1.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-2x2.png   encoder.html?img=size-2x2.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-3x3.png   encoder.html?img=size-3x3.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-4x4.png   encoder.html?img=size-4x4.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-5x5.png   encoder.html?img=size-5x5.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-6x6.png   encoder.html?img=size-6x6.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-7x7.png   encoder.html?img=size-7x7.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-8x8.png   encoder.html?img=size-8x8.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-9x9.png   encoder.html?img=size-9x9.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-15x15.png encoder.html?img=size-15x15.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-16x16.png encoder.html?img=size-16x16.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-17x17.png encoder.html?img=size-17x17.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-31x31.png encoder.html?img=size-31x31.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-32x32.png encoder.html?img=size-32x32.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-33x33.png encoder.html?img=size-33x33.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp
HTTP == size-256x256.png encoder.html?img=size-256x256.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D32%3Bformat%3Dbmp

# ICO using image/vnd.microsoft.icon mime type and 24bpp parse options with bmp 
HTTP == size-1x1.png   encoder.html?img=size-1x1.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-2x2.png   encoder.html?img=size-2x2.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-3x3.png   encoder.html?img=size-3x3.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-4x4.png   encoder.html?img=size-4x4.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-5x5.png   encoder.html?img=size-5x5.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-6x6.png   encoder.html?img=size-6x6.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-7x7.png   encoder.html?img=size-7x7.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-8x8.png   encoder.html?img=size-8x8.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-9x9.png   encoder.html?img=size-9x9.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-15x15.png encoder.html?img=size-15x15.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-16x16.png encoder.html?img=size-16x16.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-17x17.png encoder.html?img=size-17x17.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-31x31.png encoder.html?img=size-31x31.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-32x32.png encoder.html?img=size-32x32.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-33x33.png encoder.html?img=size-33x33.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp
HTTP == size-256x256.png encoder.html?img=size-256x256.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Abpp%3D24%3Bformat%3Dbmp

# ICO using image/vnd.microsoft.icon mime type png
HTTP == size-1x1.png   encoder.html?img=size-1x1.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-2x2.png   encoder.html?img=size-2x2.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-3x3.png   encoder.html?img=size-3x3.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-4x4.png   encoder.html?img=size-4x4.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-5x5.png   encoder.html?img=size-5x5.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-6x6.png   encoder.html?img=size-6x6.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-7x7.png   encoder.html?img=size-7x7.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-8x8.png   encoder.html?img=size-8x8.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-9x9.png   encoder.html?img=size-9x9.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-15x15.png encoder.html?img=size-15x15.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-16x16.png encoder.html?img=size-16x16.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-17x17.png encoder.html?img=size-17x17.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-31x31.png encoder.html?img=size-31x31.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-32x32.png encoder.html?img=size-32x32.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-33x33.png encoder.html?img=size-33x33.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng
HTTP == size-256x256.png encoder.html?img=size-256x256.png&mime=image/vnd.microsoft.icon&options=-moz-parse-options%3Aformat%3Dpng

# WEBP
HTTP == size-1x1.png   encoder.html?img=size-1x1.png&mime=image/webp&options=1
HTTP == size-2x2.png   encoder.html?img=size-2x2.png&mime=image/webp&options=1
HTTP == size-3x3.png   encoder.html?img=size-3x3.png&mime=image/webp&options=1
HTTP == size-4x4.png   encoder.html?img=size-4x4.png&mime=image/webp&options=1
HTTP == size-5x5.png   encoder.html?img=size-5x5.png&mime=image/webp&options=1
HTTP == size-6x6.png   encoder.html?img=size-6x6.png&mime=image/webp&options=1
HTTP == size-7x7.png   encoder.html?img=size-7x7.png&mime=image/webp&options=1
HTTP == size-8x8.png   encoder.html?img=size-8x8.png&mime=image/webp&options=1
HTTP == size-9x9.png   encoder.html?img=size-9x9.png&mime=image/webp&options=1
HTTP == size-15x15.png encoder.html?img=size-15x15.png&mime=image/webp&options=1
HTTP == size-16x16.png encoder.html?img=size-16x16.png&mime=image/webp&options=1
HTTP == size-17x17.png encoder.html?img=size-17x17.png&mime=image/webp&options=1
HTTP == size-31x31.png encoder.html?img=size-31x31.png&mime=image/webp&options=1
HTTP == size-32x32.png encoder.html?img=size-32x32.png&mime=image/webp&options=1
HTTP == size-33x33.png encoder.html?img=size-33x33.png&mime=image/webp&options=1