-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (33 loc) · 1.21 KB
/
index.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
<!DOCTYPE html>
<head>
<meta charset=utf-8>
<title>WebpSvg2common</title>
<meta name=color-scheme content="dark light">
<meta name=viewport content=width=device-width,initial-scale=1.0>
<script src=webpinfo.js></script>
<script src=anim_dump.js></script>
<script src=index.js></script>
<style>
body{
max-width:43rem;
margin-left:auto;
margin-right:auto;
}
</style>
</head>
<body>
<h1>WebpSvg2common</h1>
<p>This webapp takes WEBP and SVG files as input and converts them into PNG files; animated WEBP will be converted into animated GIF.
<p>If you notice any problems with conversion, please <a href=https://github.com/Thysbelon/WebpSvg2common/issues>open a new issue</a> on WebpSvg2common's GitHub repository, and attach a copy of the input (WEBP or SVG) file that did not convert successfully.
<hr>
<p><label for="img-select-file">Upload images:</label>
<input type=file id="img-select-file" accept="image/webp,image/svg+xml" multiple />
<hr>
<p><a href=https://github.com/Thysbelon/WebpSvg2common>GitHub repository</a>
<script>
function wrapper() {
var fileInput=document.getElementById("img-select-file")
convertFileList(fileInput.files)
}
document.querySelector("input#img-select-file").addEventListener("change", wrapper)
</script>