-
Notifications
You must be signed in to change notification settings - Fork 0
/
upload.html
47 lines (41 loc) · 946 Bytes
/
upload.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
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<title>Image Filters</title>
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
#canvasContainer {
width: 400px;
height: 300px;
overflow: hidden;
border: 1px solid #000;
}
#canvas {
display: block;
width: 100%;
height: auto;
}
</style>
</head>
<body>
<div id="canvasContainer">
<canvas id="canvas" width="400" height="300"></canvas>
</div>
<input type="file" id="fileInput">
<select id="filterSelect">
<option value="none">Select Filter</option>
<option value="blur">Blur</option>
<option value="invert">Invert</option>
<option value="grayscale">Grayscale</option>
<option value="brightness">Brightness</option>
<option value="sepia">Sepia</option>
</select>
<script src="script.js"></script>
</body>
</html>