Ferodissss commited on
Commit
562fe4d
·
verified ·
1 Parent(s): f71d9c8

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +27 -36
index.html CHANGED
@@ -1,45 +1,36 @@
1
  <!DOCTYPE html>
2
  <html lang="en">
3
  <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>Image Editor (ZeroGPU)</title>
7
- <style>
8
- body {
9
- font-family: sans-serif;
10
- background: #111;
11
- color: #fff;
12
- display: flex;
13
- flex-direction: column;
14
- align-items: center;
15
- padding: 30px;
16
- }
17
- #preview {
18
- max-width: 90%;
19
- margin-top: 20px;
20
- border: 2px solid #444;
21
- }
22
- button {
23
- padding: 10px 20px;
24
- margin-top: 15px;
25
- border: none;
26
- background: #4CAF50;
27
- color: white;
28
- border-radius: 6px;
29
- cursor: pointer;
30
- }
31
- input {
32
- margin-top: 20px;
33
- }
34
- </style>
35
  </head>
36
-
37
  <body>
38
- <h1>Simple Image Editor</h1>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
 
40
- <input type="file" id="fileInput" accept="image/*" />
41
- <img id="preview" />
42
 
43
- <script src="script.js"></script>
44
  </body>
45
  </html>
 
1
  <!DOCTYPE html>
2
  <html lang="en">
3
  <head>
4
+ <meta charset="UTF-8" />
5
+ <title>Simple Image Editor</title>
6
+ <link rel="stylesheet" href="style.css" />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  </head>
 
8
  <body>
9
+ <h1>Simple Image Editor</h1>
10
+
11
+ <input type="file" id="upload" accept="image/*"><br><br>
12
+
13
+ <div class="controls">
14
+ <label>Brightness</label>
15
+ <input type="range" id="brightness" min="0" max="200" value="100">
16
+
17
+ <label>Contrast</label>
18
+ <input type="range" id="contrast" min="0" max="200" value="100">
19
+
20
+ <label>Blur</label>
21
+ <input type="range" id="blur" min="0" max="20" value="0">
22
+
23
+ <label>Sharpen</label>
24
+ <input type="range" id="sharpen" min="0" max="5" value="0">
25
+
26
+ <label>Grayscale</label>
27
+ <input type="range" id="gray" min="0" max="100" value="0">
28
+ </div>
29
+
30
+ <canvas id="canvas"></canvas>
31
 
32
+ <button id="download">Download Edited Image</button>
 
33
 
34
+ <script src="script.js"></script>
35
  </body>
36
  </html>