-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (53 loc) · 2.3 KB
/
index.html
File metadata and controls
60 lines (53 loc) · 2.3 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Editor Immagini</title>
</head>
<body>
<div class="header">
<p>Editor Immagini</p>
</div>
<div class="menu">
<button class="button" id="changeImageButton">Cambia immagine</button>
<button class="button" id="downloadOriginalImage">Scarica l'immagine</button>
<button class="button" id="downloadFilteredImage">Scarica l'immagine filtrata</button>
</div>
<div class="main">
<div class="image-container">
<!-- <img id="image" src="https://picsum.photos/300/200" alt="Uploaded Image"> -->
<img id="image" src="https://picsum.photos/640/480" alt="Uploaded Image">
</div>
<div class="filters-container">
<!--
label e input hanno di default un display: inline,
quindi di norma si allineano.
-->
<label for="sepiaRange">Sepia:</label>
<input type="range" id="sepiaRange" min="0" max="100" value="0">
<label for="grayscaleRange">Grayscale:</label>
<input type="range" id="grayscaleRange" min="0" max="100" value="0">
<label for="blurRange">Blur:</label>
<input type="range" id="blurRange" min="0" max="10" value="0">
<label for="brightnessRange">Brightness:</label>
<input type="range" id="brightnessRange" min="0" max="200" value="100">
<label for="contrastRange">Contrast:</label>
<input type="range" id="contrastRange" min="0" max="200" value="100">
<label for="saturationRange">Saturation:</label>
<input type="range" id="saturationRange" min="0" max="200" value="100">
<div class="checkbox">
<input type="checkbox" id="toggleFilter">
<label for="toggleFilter">Filters off</label>
</div>
<div class="checkbox">
<input type="checkbox" id="addSnyderFilter">
<label for="addSnyderFilter">Snyder Filter on</label>
</div>
</div>
</div>
<script src="./script.js"></script>
<script src="./cookiechoises.js"></script>
</body>
</html>