-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (38 loc) · 1.38 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
34
35
36
37
38
39
40
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
<body>
<label><input type="checkbox" class="checkbox" /> Download ?</label><br />
<div>Max width: <input type="number" class="width" value="400" /></div>
<div>Max height: <input type="number" class="height" value="200" /></div>
<div>
Type:
<select class="type">
<option value="bmp">BMP</option>
<option value="jpeg">JPEG</option>
<option value="png">PNG</option>
<option value="gif">GIF</option>
<option selected value="webp">WEBP</option>
</select>
</div>
<input type="file" class="file" name="file" /><br />
<button type="button" class="convert">Convert !</button>
<img class="result" download="image.webp" />
<br /><br /><br /><br />
<div>
<a
href="https://www.tripadvisor.fr/LocationPhotos-g147277-Curacao.html#436359355"
><img
alt=""
width="50"
src="https://media-cdn.tripadvisor.com/media/photo-s/1a/02/50/bb/troupial-the-national.jpg" /></a
><br />Cette photo de Curaçao est fournie gracieusement par Tripadvisor
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>