-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (32 loc) · 974 Bytes
/
Copy pathindex.html
File metadata and controls
37 lines (32 loc) · 974 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>file2img</title>
<link rel="stylesheet" href="style.css">
<script defer src="./image.js"></script>
<script defer src="./main.js"></script>
</head>
<body>
<header class="title">
<h1>File to Image</h1>
<p>A tool that converts any file into an image</p>
</header>
<div class="section">
<div>
<label for="selectedFile">Select file:</label>
<input type="file" id="selectedFile" name="selectedFile">
</div>
<hr>
<canvas class="section" id="outputCanvas" width="100" height="100"></canvas>
</div>
<footer>
<p>
<a href="https://scratch.mit.edu/users/KryptoScratcher">Scratch</a>
|
<a href="https://github.com/KPT0/obj-sm3-converter">Source Code</a>
</p>
</footer>
</body>
</html>