-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
127 lines (104 loc) · 4.63 KB
/
index.html
File metadata and controls
127 lines (104 loc) · 4.63 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TrimBG | Offline Background Remover for Images - Electron App</title>
<meta name="description" content="TrimBG is a fast, offline desktop software for removing image backgrounds. Built with Electron and JavaScript, no API required.">
<meta name="keywords" content="TrimBG, background remover, remove image background, offline app, desktop software, Electron app, JavaScript image processing, photo editing, PNG transparency">
<meta name="google-site-verification" content="MyIT-_AHVNnRRJvLSeHfSSPg0Pe14gPmcVGS-_0bKmY" />
<link rel="icon" href="./icon/icon.png" type="image/png">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<button class="dark-toggle" onclick="toggleDark()">Dark Mode</button>
<header>
<img src="./icon/icon.png" alt="" srcset="">
<h1>TrimBG</h1>
<p>Offline & Fast Background Remover Built with JavaScript & Electron</p>
<a href="https://github.com/TrimBG/Trimbg/releases/tag/v1.0.0" class="download-btn"><img
src="./icon/download.png" style="width: 20px; height: 20px; margin: -15px 5px 0px 0px;"
alt="Download TrimBG" srcset="">Download for Linux - v1.0.0</a>
<a href="https://github.com/TrimBG/Trimbg" target="_blank" rel="noopener" class="github-btn"><img
src="./icon/github.png" style="width: 24px; height: 24px; margin: -15px 5px -5px 0px;"
alt="Download TrimBG" srcset="">TrimBG in Github</a>
</header>
<div class="container">
<section class="features">
<div class="card">
<h3>100% Offline Processing</h3>
<p>No API, no cloud. Everything happens locally on your machine.</p>
</div>
<div class="card">
<h3>One-Click Background Removal</h3>
<p>Just pick an image TrimBG does the rest instantly.</p>
</div>
<div class="card">
<h3>Drag & Drop</h3>
<p>Drag images directly into the app.</p>
</div>
<div class="card">
<h3>Easy Download</h3>
<p>Save processed images instantly.</p>
</div>
<div class="card">
<h3>Fast Processing</h3>
<p>No limits, no waiting.</p>
</div>
<div class="card">
<h3>Optimized Algorithm</h3>
<p>Advanced color distance calculation.</p>
</div>
<div class="card">
<h3>Built with Electron</h3>
<p>Lightweight desktop app with clean UI and high performance.</p>
</div>
<div class="card">
<h3>JavaScript Engine</h3>
<p>Uses Canvas API & pixel-level color analysis with JS only.</p>
</div>
</section>
<!-- Screenshots -->
<section class="screenshot">
<h2>Screenshots</h2>
<div class="screenshot-grid">
<img src="./screenshots/1.png" alt="TrimBG Remove photo background - User interface" onclick="openLightbox(this.src)">
<img src="./screenshots/2.png" alt="TrimBG Remove photo background - User interface" onclick="openLightbox(this.src)">
</div>
</section>
</div>
<!-- Lightbox -->
<div id="lightbox" onclick="closeLightbox()">
<img id="lightbox-img" src="">
</div>
<script>
function toggleDark() {
document.body.classList.toggle("dark");
}
function openLightbox(src) {
document.getElementById("lightbox-img").src = src;
document.getElementById("lightbox").style.display = "flex";
}
function closeLightbox() {
document.getElementById("lightbox").style.display = "none";
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "TrimBG",
"operatingSystem": "Linux, Windows",
"applicationCategory": "GraphicsApplication",
"url": "https://github.com/TrimBG/Trimbg",
"image": "https://raw.githubusercontent.com/TrimBG/Trimbg/main/icon/icon.png",
"description": "TrimBG - Offline & Fast Background Remover Built with JavaScript & Electron",
"offers": {
"@type": "Offer",
"price": "0.0",
"priceCurrency": "USD"
}
}
</script>
</body>
</html>