Back to services

imgproxy

Fast and secure standalone server for resizing and converting remote images.

View alternatives to imgproxy
Suggest edit
Open source
Self-hostable
MIT
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

imgproxy is a standalone image processing server that resizes and converts remote images on the fly. It is designed with a focus on security, speed, and simplicity. Developers put the processing parameters and output format into the image URL, and imgproxy processes the image only when it receives a request and then returns the result, so there is no need to generate images for every size and format in advance.

The official website calls it "the world's fastest AI-powered self-hosted image processing server" and lists users such as Medium, Dribbble, Substack, Miro, eBay, dev.to, and Algolia.

Key Features

Image formats

  • Open source edition: supports common formats such as JPEG, PNG, GIF, WebP, AVIF, and JPEG XL
  • Pro edition: can generate previews for videos, PDFs, and Photoshop files; v4 adds support for RAW formats

Image processing

  • Open source edition: resizing, cropping, rotation, watermarking, filters
  • Pro edition: reading image info, more watermark features (such as dynamic watermarks), color adjustments

Size optimization

  • Open source edition: stripping color profiles and metadata, PNG quantization
  • Pro edition: finer compression settings, GIF to MP4 conversion, SVG compression

Smart features

  • Open source edition: basic smart cropping, automatic quality adjustment based on file size
  • Pro edition: object detection, more advanced smart cropping, automatic quality adjustment based on SSIM, automatic selection of the best format; v4 adds image classification and object-based cropping

Security

  • Image bomb protection: checks the real dimensions of an image first, and stops processing if it is too large or not a genuine image
  • URL signing: prevents attackers from crafting arbitrary processing parameters to launch denial-of-service attacks
  • Authorization: authorization can be done through HTTP request headers, preventing requests from bypassing the cache layer
  • Predictable costs: you control the processing rules, the way you scale, and the infrastructure costs

Core Strengths

  • Self-hosted: runs on your own servers and uses your own image storage. There is no opaque SaaS billing or surprise invoices, and your images are never sent to third parties
  • High performance: built on libvips, and the official blog has published performance comparisons with other open source image processing servers
  • Open source core model: the open source edition is published on GitHub, and a closed-source Pro edition offers more advanced features
  • Sensible defaults with deep customization: the default settings suit most cases, and when needed you can adjust each option through environment variables

Who It's For

It suits development teams building websites and apps that process large numbers of images, such as e-commerce platforms, content communities, SaaS products, and image hosting services. It is also a good fit for teams that want to switch from a commercial image processing SaaS to a self-hosted solution to cut costs. According to a Substack testimonial on the official website, costs dropped by about 90% after switching to imgproxy.

Deployment

imgproxy is distributed as a Docker image and as Linux packages, and can run on almost any hosting service or local computer. Getting started takes three steps:

  1. Install imgproxy, for example by running the Docker image ghcr.io/imgproxy/imgproxy
  2. Upload your original images directly to your own storage
  3. Request images by putting the processing parameters (such as width, height, and format) in the URL

For detailed instructions, see the official documentation at docs.imgproxy.net.

Editions and Pricing

  • Open source edition: free, with the source code on GitHub (imgproxy/imgproxy)
  • Pro edition: from $49 per month, or $499 per year when billed annually (equivalent to two months free). It includes all features of the open source edition, the Pro advanced features, and priority support. A 14-day free trial is available, and it can also be purchased on AWS Marketplace

Notable Points

  • The official homepage has a live demo where you can see the URL change in real time as you drag to resize the image
  • v4 improves observability and supports monitoring tools such as Datadog
  • Community channels include GitHub, Discord, and an email newsletter