Skip to content

imgproxy

imgproxy is an open-source, self-hosted image processing server designed for on-the-fly image manipulation and optimization.

Freemium · API

Two calls. That is the integration.
A talking-head API at 20 cents a minute.
Send a photo and text or audio, get an MP4. Prepaid credits. Failed jobs are refunded in full.
Read the docsNo code? Make a photo talk

What is imgproxy?

imgproxy is an infrastructure tool developed by imgproxy that enables developers and organizations to perform on-the-fly image manipulation and optimization. It acts as a middle layer between an application and image storage, dynamically resizing, cropping, converting, and optimizing images at the time of request. The server is open-source and self-hosted, providing users with control over their image processing pipeline. It supports various storage backends and can resize, filter, adjust, and watermark images via URL, integrating into existing infrastructure to provide core image transformation capabilities.

Key Features of imgproxy

imgproxy provides a comprehensive set of features for dynamic image processing, designed to optimize image delivery and reduce infrastructure load. Its capabilities range from basic transformations to advanced optimization and security measures.

  • On-the-fly image manipulation including resizing, cropping, rotating, and watermarking.
  • Support for a wide array of image formats: JPEG, PNG, GIF, WebP, AVIF, JPEG XL, SVG, ICO, HEIC, BMP, TIFF.
  • Image optimization features such as color profile and metadata stripping, PNG quantization, and auto-quality by file size.
  • Security enhancements including URL signing to prevent hotlinking and unauthorized access, and authorization by HTTP header.
  • Advanced smart cropping and object detection (Pro version) using machine learning models.
  • Internal cache (imgproxy Pro v4) for an additional, long-term caching layer.
  • Parallel image downloading (v4) leveraging libvips' streaming capabilities for faster response times.
  • SVG minification (v4) offering improved compression and performance.
  • RAW format support (imgproxy Pro v4) for direct processing of digital camera RAW images.
  • Preview generation for video, PDF, and Photoshop documents (Pro version).

Who Should Use imgproxy?

imgproxy is primarily designed for developers and organizations that require robust, self-hosted image processing capabilities. It is particularly beneficial for those managing high volumes of images and seeking to optimize performance, reduce costs, and maintain control over their image pipeline.

  • Web and Mobile Application Developers: To generate thumbnails and responsive images dynamically, ensuring faster page loads and optimal user experience.
  • SaaS Platforms: For powering user avatars, product images, and media galleries, offloading image transformations from application backends.
  • E-commerce Businesses: To dynamically resize and optimize product images, improving site performance and conversion rates.
  • Companies with High Image Volumes: To reduce bandwidth costs and development time by processing images on demand rather than storing multiple pre-generated versions.
  • Organizations Requiring Secure Image Delivery: To prevent hotlinking and unauthorized access using features like signed URLs and source-address restrictions.

How to Use imgproxy

imgproxy is typically deployed as a Docker container or via Linux packages, integrating into existing infrastructure. Users configure it to fetch images from various storage backends and process them based on URL parameters.

  1. Deploy imgproxy: Install imgproxy using Docker images or Linux packages on a server or local machine.
  2. Configure Storage Backends: Specify the source image storage, which can include local file systems, S3 buckets, or other cloud storage.
  3. Define Processing Options: Construct image URLs with specific parameters for resizing, cropping, filtering, and other transformations.
  4. Integrate with Application: Embed the generated imgproxy URLs into web pages or mobile applications.
  5. Implement Security (Optional): Utilize URL signing to secure image requests and prevent unauthorized access.
  6. Monitor Performance: Leverage enhanced observability features to monitor imgproxy's operations and performance.

imgproxy Pricing & Plans

imgproxy operates on a freemium model, offering a robust open-source version and a 'Pro' version with advanced features and priority support. The open-source version is available on GitHub, while the Pro version is a closed-source offering.

  • Open Source OSS: Free. Includes basic formats (JPEG, PNG, GIF, WebP, AVIF, JPEG XL), resizing, cropping, rotating, watermarking, filters, color profile and metadata stripping, PNG quantization, simple smart cropping, and auto-quality by file size.
  • Pro version: $49/month or $499/year. Includes all free features plus preview generation for video, PDF, and Photoshop documents, getting image info, advanced watermarking, color adjustment, advanced compression settings, GIF to MP4 conversion, SVG minification, object detection, advanced smart cropping, auto-quality by SSIM, best format selection, and priority support.

Pros

  • High performance and low memory usage due to its Go-based architecture and libvips integration.
  • Significant cost savings on bandwidth and storage compared to storing multiple image variants.
  • Comprehensive feature set for on-the-fly image manipulation, optimization, and security.
  • Self-hosted nature provides full control over the image processing pipeline and data.
  • Strong community support for the open-source version and priority support for Pro users.
  • imgproxy v4 introduces internal caching, parallel downloading, and enhanced SVG minification.

Cons

  • Requires self-hosting and infrastructure management, which may be complex for smaller teams without DevOps expertise.
  • Advanced features like object detection and RAW format support are exclusive to the paid Pro version.
  • Initial setup and configuration may require technical knowledge of Docker or Linux environments.
  • Reliance on URL parameters for transformations can lead to long or complex URLs if many options are applied.

imgproxy vs Competitors

imgproxy competes in the on-the-fly image processing server market, differentiating itself through its Go-based architecture, performance, and comprehensive feature set, particularly in its Pro version.

See every imgproxy alternative, compared

imgproxy

Freemium · API

Enjoying this? Get one like it in your inbox each morning.

one email a day · unsubscribe in two clicks · no third-party tracking