You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+51-16Lines changed: 51 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,17 +10,35 @@
10
10
11
11
## Overview
12
12
13
-
Clearcut is a privacy-first background removal tool that runs entirely in your browser. No uploads, no servers, no subscriptions - just instant, studio-quality results powered by AI.
13
+
Clearcut is a privacy-first background removal and image editing tool that runs entirely in your browser. No uploads, no servers, no subscriptions - just instant, studio-quality results powered by AI. Remove backgrounds, apply custom backgrounds, adjust filters, transform images, and crop to specific aspect ratios - all without your images ever leaving your device.
14
14
15
15
### Key Features
16
16
17
17
-**100% Private** - Your images never leave your device. All processing happens locally in your browser.
18
18
-**Unlimited & Free** - No usage limits, no watermarks, no accounts required.
19
19
-**Instant Processing** - Powered by WebGPU/WASM for fast inference.
20
20
-**Studio-Grade Quality** - Uses the RMBG-1.4 model for precise edge detection and hair handling.
21
+
22
+
#### Background Removal & Editing
21
23
-**Brush Editing** - Fine-tune results with erase/restore brush tools.
22
-
-**Background Replacement** - Add solid colors or custom images as backgrounds.
23
-
-**High-Res Export** - Download full-resolution PNG or JPG files.
24
+
-**Undo/Redo** - Up to 20 history entries for brush edits.
25
+
-**Before/After Comparison** - Interactive slider to compare original and edited images.
26
+
27
+
#### Image Editing Modal
28
+
-**Full-Screen Editor** - Immersive editing experience with real-time preview.
29
+
-**Background Selection** - Choose from 12 preset colors, custom color picker, or upload your own background image.
30
+
-**Background Filters** - Adjust brightness (0-200%), contrast (0-200%), saturation (0-200%), and blur (0-20px) on backgrounds.
31
+
-**Transform Controls**:
32
+
- Zoom: 0.5x to 3.0x with interactive canvas zoom (zoom toward cursor position).
33
+
- Rotate: 90-degree increments left or right.
34
+
- Flip: Horizontal and vertical mirroring with active state indicators.
35
+
-**Aspect Ratio Cropping** - Interactive crop tool with 6 aspect ratio options (Original, Free, 1:1, 4:3, 16:9, 9:16).
36
+
-**Crop Overlay** - Visual crop handles with rule of thirds grid for composition.
37
+
-**Real-Time Preview** - See all edits applied instantly on the canvas.
38
+
39
+
#### Export
40
+
-**Export Modal** - Loading states, success confirmation, and Ko-fi support prompt.
41
+
-**High-Res Export** - Download full-resolution PNG or JPG files with original filename + "-nobg" suffix.
24
42
25
43
---
26
44
@@ -77,22 +95,38 @@ clearcut/
77
95
│ └── favicon.svg
78
96
├── src/
79
97
│ ├── components/
80
-
│ │ ├── landing/ # Landing page components
81
-
│ │ ├── remove/ # Background removal UI
82
-
│ │ └── ui/ # Reusable UI components
98
+
│ │ ├── landing/ # Landing page components
99
+
│ │ ├── remove/ # Background removal & editing UI
100
+
│ │ │ ├── BackgroundRemover.tsx # Main orchestrator
1.**Model Loading** - On first visit, the RMBG-1.4 model (~45MB) is downloaded and cached in your browser.
106
140
2.**Image Processing** - When you upload an image, it's processed entirely client-side using WebGPU (if available) or WASM.
107
141
3.**Mask Generation** - The AI generates a segmentation mask identifying foreground vs background.
108
-
4.**Compositing** - The mask is applied to create a transparent background, with optional color/image replacement.
109
-
5.**Export** - The final result is rendered to a canvas and exported as PNG/JPG.
142
+
4.**Image Editing** - Open the full-screen editor to apply background replacements, filters (brightness, contrast, saturation, blur), transforms (zoom, rotate, flip), and crop to specific aspect ratios.
143
+
5.**Compositing** - The mask is applied to create a transparent background, with optional color/image replacement and filters.
144
+
6.**Export** - Click the download button to trigger the export modal. The final result is rendered to a canvas and exported as PNG/JPG with the original filename + "-nobg" suffix.
0 commit comments