karimz1/imgcompress

Imgcompress is a self-hosted image processing toolbox that handles compression, format conversion, and AI background removal in a single web interface. It supports over 70 input formats (including PSD, HEIC, and RAW) and can output common formats or generate PDFs, all without sending files to external services.

What it solves

ImgCompress is a self-hosted image processing server that eliminates the need for multiple separate tools for format conversion, compression, and background removal. It provides a private, local alternative to cloud-based image services, ensuring that files never leave the server.

How it works

The project is delivered as a single, security-hardened Docker container that bundles all necessary codecs and libraries. It offers a Web UI for manual processing and a CLI for scripting. It uses a bundled AI model that runs on the CPU to perform background removal locally without requiring API keys or internet connectivity.

Who it’s for

It is designed for privacy-conscious users, homelab enthusiasts, and professionals who need to process image batches in bulk without uploading personal or client data to third-party servers.

Highlights

  • Local AI Background Removal: Uses a bundled model to remove backgrounds on your own hardware.
  • Extensive Format Support: Handles over 70 image formats, including HEIC, PSD, AVIF, and WebP.
  • Privacy-First: Runs fully offline (air-gap ready) with no telemetry or cloud processing.
  • Bulk Processing: Supports multi-core parallel processing for large photo libraries.
  • Integrated Cropping: Features a per-file crop editor with aspect-ratio presets and custom dimensions.

Related

  • Project
  • Project
  • Project
  • Project