imagor
Fast, secure image processing server and Go library, using libvips
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: The content of the official website, imagor.net, could not be retrieved this time, so this entry was written based on existing knowledge of the project. Details I wasn't sure about have been left out. Please refer to the official website and the GitHub repository (cshum/imagor) for specifics.
Overview
imagor is an open-source image processing server written in Go, which uses libvips under the hood to process images. Its URL syntax is compatible with Thumbor: by putting parameters such as dimensions, crop mode and filters into the URL, you can generate the image you need on the fly. The project can also be embedded in your own programs as a Go library.
Key Features
- Real-time image processing: Resize, crop, flip, fit-in and smart crop operations, all done through URL parameters.
- Filters: Supports filters for format conversion, quality adjustment, background fill, blur, rounded corners, watermarks and more.
- Multiple storage backends: Original images can be loaded from HTTP sources, the local file system, AWS S3 and Google Cloud Storage, and processed results can also be written to storage as a cache.
- URL signing: Sign URLs with an HMAC secret to prevent others from crafting arbitrary requests and abusing the service.
- Common formats: Supports JPEG, PNG, WebP, AVIF, GIF and other formats. The exact range of support depends on the libvips version used.
- Metadata endpoint: Can return image metadata such as dimensions and format.
Target Users and Use Cases
Well suited to websites, e-commerce platforms, content management systems and mobile app backends that need to generate large numbers of thumbnails and responsive images, as well as teams that want to move from Thumbor to a higher-performance solution.
Core Strengths
- libvips uses streaming processing, which keeps memory usage low and speed high, making it a good fit for high-concurrency scenarios.
- Compatibility with Thumbor's URL syntax keeps migration costs low.
- Small footprint and simple deployment, often run as a single Docker container.
- Open source under the Apache 2.0 license, free to self-host.
Deployment
Docker deployment is recommended, for example:
docker run -p 8000:8000 shumc/imagor -imagor-secret mysecret
In a development environment you can enable unsafe mode to skip signature verification. In production, you should set a secret and use signed URLs. All settings can be configured via command-line arguments or environment variables.
Technical Requirements
- When running with Docker, the image already includes the dependencies.
- Building from source requires a Go environment and libvips.
Worth Noting
The same author also maintains a derived project, imagorvideo, which uses ffmpeg to generate thumbnails for videos.
Discover more
GitProxy
Deploy custom push protections and policies on top of Git
Outline Server
A proxy server that runs a Shadowsocks instance for each access key and a REST API to manage the access keys.
socks5-proxy-server
SOCKS5 proxy server with built-in authentication and Telegram-bot for user management and user statistics on data spent (handy when you pay per GB of data). It is dockerised and simple to install.
CapRover
Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
Ferron
A fast, modern web server built for production debugging.
Koblas
Lightweight SOCKS5 proxy server.