# ImgCompress

> Self-hosted Docker app for compressing, converting, and cropping 70+ image formats with local AI background removal — zero cloud uploads.

- **Category:** Image Processing
- **Licence:** GPL-3.0
- **Latest version:** release_0.9.0
- **Open source:** oss
- **Languages:** Typescript, Python
- **Platforms:** Docker, Docker Compose, Coolify
- **Tags:** Privacy, CLI, Offline, Pdf Generation, PDF, Photography, Webp, Batch Processing, Docker, AI, Web UI, Image compression, Self Hosted, Multilingual, Tiff, Background removal, Tool, Imagecompression, Imageoptimizer, Webtool, Datahoarder, Eps, Heif, Psd, Pillow, Image Ai, Format Conversion

## Description

This tool runs in one Docker container and handles over 70 image formats including HEIC, PSD, AVIF, EPS, and RAW. It converts between formats, compresses in bulk using multiple CPU cores, crops each file with preset ratios, and removes backgrounds using a local AI model that executes on your CPU. A web interface provides drag-and-drop batch processing with target file-size control, while a CLI enables automation. The container is hardened with no shell, no network tools, non-root execution, healthchecks, and log rotation. No built-in authentication exists, so it's meant for trusted networks or behind a reverse proxy. Licensed GPL-3.0 with donation options via GitHub Sponsors, PayPal, and Buy Me a Coffee.

## Links

- [Homepage](https://github.com/karimz1/imgcompress)
- [Website](https://imgcompress.karimzouine.com)
- [Docker](karimz1/imgcompress)
- [GitHub Repository](https://github.com/karimz1/imgcompress)
- [Documentation](https://imgcompress.karimzouine.com/docs)
- [Docker Hub](https://hub.docker.com/r/karimz1/imgcompress)
- [Support & Contact](https://imgcompress.karimzouine.com/docs/support)

---
Source: https://selfhost.directory/project/imgcompress