Skip to content

ImgCompress: Privacy-First Image Optimizer

Local Image Compression, Format Conversion & AI Background Removal (Docker)

Docker Pulls Docker Image Size

ImgCompress: The self-hosted alternative to TinyPNG and Squoosh

ImgCompress is a high-performance, self-hosted Docker image compression and conversion tool featuring local AI-powered background removal. Process unlimited images offline with zero cloud uploads, no subscriptions, and complete data sovereignty.

❓ Why choose ImgCompress?

I created ImgCompress as a private alternative to cloud-based converters. Most web tools force a choice between convenience and privacy. ImgCompress is the last local-first image web tool you'll need, handling everything from batch resizing to professional AI background removal on your own hardware.

🛡️ Privacy by Design (GDPR Compliant)

Unlike traditional SaaS services, ImgCompress is engineered with a strict "Privacy by Default" architecture. It is the ideal solution for processing sensitive data without external risks.

  • 100% Local Processing: All tasks run strictly on your CPU/GPU.
  • No External API Calls: Your files are never uploaded, buffered, or sent to third-party servers.
  • Air-Gapped Ready: Full functionality without an internet connection.

Get Started with Installation


✨ Advanced Image Processing Features

  • 📱 HEIC/HEIF to JPG Converter: Instantly convert iPhone photos into high-quality JPEG or PNG.
  • 🤖 Local AI Background Removal: Powered by rembg, 100% offline background erasure.
  • 📰 PDF to Image Tool: Extract PDF pages as individual high-resolution images (PNG/JPG).
  • 🖼️ Universal Format Support: Convert between 70+ formats including WebP, PSD, EPS, and TIFF.
  • ⚙️ Professional Compression Controls: Fine-tune quality settings, dimensions, and lossless optimization.
  • 🚀 Multi-Core Parallel Processing: Optimized for lightning-fast batch jobs.
  • 🛠️ Automation Friendly: Scriptable CLI with JSON output for DevOps and CI/CD pipelines.

💼 Business & Personal Use Cases

  • Web Developers: Optimize website assets to improve Google PageSpeed scores.
  • Photographers: Batch compress high-res galleries by up to 80% without visible quality loss.
  • Privacy-Conscious Users: Securely process family photos and sensitive documents.
  • Enterprises: Maintain GDPR, HIPAA, or SOC2 compliance by processing all media in-house.