imgcompress - Privacy-First Image Optimizer: Compress, Convert & AI Background Removal (Docker)
A self-hosted Docker image compression and conversion tool with local AI background removal. Process unlimited images offline: no cloud uploads, no subscriptions, no per-image limits.
β Why imgcompress?
I created imgcompress because I was tired of the trade-offs required by modern image tools. Most web-based converters force you to choose between convenience and privacy, often requiring you to upload sensitive data to third-party servers.
I built this to be the last image web tool you'll need: a simple-looking yet powerful, local-first converter that handles everything from batch resizing to AI-driven background removal.
π‘οΈ Privacy as a Requirement
Unlike traditional web services, imgcompress is engineered with a strict "Privacy by Default" architecture. I believe privacy isn't just a feature. Itβs a technical requirement.
-
100% Local: All processing happens strictly on your hardware.
-
Zero Data Leaks: Your files are never uploaded, buffered, or transmitted to external servers.
-
Air-Gapped Ready: Works perfectly without an internet connection.
β¨ Key Features & Capabilities
- π± HEIC/HEIF Converter: Instantly turn iPhone photos into high-quality JPG/PNG.
- π€ AI Background Removal: Powered by rembg and U2-Net local AI model. 100% offline and private.
- π° PDF to Image: Extract every page of a PDF as individual high-res images.
- πΌοΈ Universal Conversion: Support for 70+ formats (HEIC, HEIF, PSD, EPS, TIFF, etc.).
- βοΈ Pro Controls: Fine-tune quality, width dimensions, and lossless settings.
- π Parallel Processing: Multi-core optimization for lightning-fast batch jobs.
- π οΈ Automation: Scriptable CLI with JSON output for CI/CD integration.
- π¦ Cross-Platform: Runs everywhere (Linux, Mac, Windows, Raspberry Pi).
πΌ Use Cases
- Photographers: Batch compress galleries by 70%+ without quality loss.
- Developers: Optimize web assets for better PageSpeed.
- Privacy Users: Process sensitive documents and family photos offline.
- Enterprises: GDPR/HIPAA compliant processing on your hardware - no data share.
