Using the Web UI
Important
Before you begin, ensure you have installed imgcompress. A local installation is required to run the Web UI.
đ Quick Start Guide
The Web UI provides a powerful, privacy-focused way to compress images without the need for cloud-based tools.
⨠Key Features
- Drag & Drop: Easy file management for images and PDFs.
- Real-time Feedback: Monitor batch progress with live indicators.
- Bulk Processing: Efficiently handle hundreds of images in one go.
- ZIP Export: Download all processed images in a organized archive.
- Privacy First: All processing happens on your local machine.
đ Choosing the Right Format
Select the format that best fits your project's needs:
| Format | Transparency | Best Use Case |
|---|---|---|
| AVIF | â Yes | Recommended. Next-gen compression that keeps quality high while drastically reducing file size. |
| PNG | â Yes | Perfect for graphics and logos where pixel-perfect, lossless quality is essential. |
| JPEG | â No | Universal standard for photos where transparency is not required. |
| ICO | â Yes | Specifically designed for web favicons and desktop application icons. |
đ§ Instant Background Removal
Requires Transparency Support
To use this feature, ensure your output format is set to AVIF or PNG.
Why use AVIF for Background Removal?
AVIF combines the transparency support of PNG with superior compression. It allows you to remove backgrounds and maintain a tiny footprint without compromising visual quality.
| Step | Screenshot | Description |
|---|---|---|
| 1 | ![]() | Toggle Removal Select AVIF or PNG as the output, then simply flip the Remove Background switch. |
| Original Image | Background Removed (Local AI) |
|---|---|
![]() | ![]() |
đ¯ Target Specific File Sizes
If you need to meet a strict file size limit (e.g., for web uploads), ImgCompress can automatically calculate the optimal quality for you.
AVIF Support
The Max Output Size slider works for both JPEG and AVIF. Since AVIF compresses more efficiently, you can often achieve higher visual quality within the same size limit.
âšī¸ Technical Credits & Background
Processing Engine
All AI-driven tasks are performed locally using rembg and the U2-Net model.
Privacy is guaranteed: No data ever leaves your local network.Core Libraries
ImgCompress leverages onnxruntime for model execution and Pillow for high-performance image processing.
đ¸ Image Credits
Landscape with sunset in Yixing (Freepik) used for demonstration.










