-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (43 loc) · 1.22 KB
/
index.html
File metadata and controls
44 lines (43 loc) · 1.22 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>benchmark</title>
<style>
body {
padding: 20px;
font-family: monospace;
font-size: 15px;
}
.status {
margin-top: 20px;
margin-bottom: 10px;
line-height: 1.5;
font-size: 13px;
}
</style>
</head>
<body>
<div>
<h4>canvas params:</h4>
<pre class="info"></pre>
</div>
<select>
<option value="worker">Worker</option>
<option value="file">FileSystemAPI</option>
<option value="canvas">Canvas (8bit only)</option>
<option value="cpu">CPU</option>
<!-- <option value="fast-png">fast-png</option> -->
</select>
<button class="encode" disabled>Generating PNG Data</button>
<button class="cancel" disabled>Cancel</button>
<button class="download" disabled>Download</button>
<div class="status"></div>
<!-- <div class="canvas-container"></div> -->
<div class="image-container">
<img src="" class="image" style="width: auto; height: 250px" />
</div>
<script type="module" src="./web/main.js"></script>
</body>
</html>