-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (78 loc) · 3.83 KB
/
Copy pathindex.html
File metadata and controls
89 lines (78 loc) · 3.83 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
content="A premium, web-based image editor with glassmorphism design. Filters, presets, and instant downloads.">
<title>Image Editor | Premium Web Tool</title>
<link rel="stylesheet" href="theme.css">
<link rel="stylesheet" href="style.css">
<link href="https://cdn.jsdelivr.net/npm/remixicon@4.7.0/fonts/remixicon.css" rel="stylesheet" />
</head>
<body>
<main>
<section>
<h1
style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;">
Online Image Editor</h1>
<div class="left">
<div class="top">
<label for="image-input" class="btn">
<i class="ri-upload-cloud-line"></i> Choose Image
<input type="file" accept="image/*" id="image-input" hidden>
</label>
<button class="btn" id="reset-btn"><i class="ri-refresh-line"></i> Reset</button>
<button class="btn" id="anim-btn"><i class="ri-movie-line"></i> Animate</button>
<button class="btn" id="record-btn" disabled><i class="ri-record-circle-line"></i> Record</button>
<button class="btn" id="download-btn"><i class="ri-download-line"></i> Download</button>
</div>
<div class="bottom">
<div class="placeholder">
<i class="ri-image-add-line"></i>
<p>Drag & Drop</p>
</div>
<canvas id="image-canvas"></canvas>
</div>
</div>
<div class="right">
<h2>Filters</h2>
<div class="filters">
</div>
<h2 style="margin-top: var(--space-md);">Presets</h2>
<div class="presets">
</div>
<h2 style="margin-top: var(--space-md);">Resize & Quality</h2>
<div class="resize-controls">
<div class="resize-inputs">
<div class="input-group">
<label for="resize-width">Width</label>
<input type="number" id="resize-width" placeholder="Width">
</div>
<div class="input-group">
<label for="resize-height">Height</label>
<input type="number" id="resize-height" placeholder="Height">
</div>
</div>
<div class="checkbox-group">
<input type="checkbox" id="aspect-ratio" checked>
<label for="aspect-ratio">Maintain Aspect Ratio</label>
</div>
<button class="btn" id="resize-btn" style="width: 100%; margin-top: 5px;">Apply Resize</button>
<div class="quality-control" style="margin-top: 15px;">
<div class="filter-info">
<p>Quality (JPEG)</p>
<span id="quality-value">100%</span>
</div>
<input type="range" id="quality-slider" min="1" max="100" value="100">
<p id="size-info"
style="font-size: var(--text-xs); color: var(--text-secondary); margin-top: 8px; text-align: right;">
Estimated Size: -- KB</p>
</div>
</div>
</div>
</section>
</main>
<script src="script.js"></script>
</body>
</html>