Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Go
  3. transformimgs

transformimgs

MITGov8.19.0

An open-source image CDN providing automatic optimization, resizing, and modern format support via a zero-config API.

Visit WebsiteGitHubGitHub
291 stars19 forks0 contributors

What is transformimgs?

TransformImgs is an open-source image CDN that provides an API for dynamically transforming and optimizing images. It automatically resizes, crops, and converts images to modern formats like WebP, AVIF, and JPEG XL based on client capabilities, solving the problem of delivering optimized images for web performance without manual intervention.

Target Audience

Web developers and DevOps engineers who need to serve optimized, responsive images across various devices and browsers, particularly those building content-heavy websites or applications.

Value Proposition

Developers choose TransformImgs for its zero-config API that intelligently handles format selection and optimization, reducing integration complexity while ensuring automatic support for the latest image formats and performance best practices.

Overview

Open source image CDN.

Use Cases

Best For

  • Automatically serving WebP, AVIF, or JPEG XL images based on browser support
  • Generating responsive image thumbnails and product gallery zooms
  • Reducing image payload sizes for users with Save-Data enabled
  • Deploying a self-hosted image transformation service behind a CDN
  • Integrating image optimization into Go web applications via its library
  • Improving Core Web Vitals by optimizing Largest Contentful Paint (LCP) images

Not Ideal For

  • Projects requiring batch image processing or build-time optimization, such as static site generators like Gatsby or Hugo.
  • Applications needing advanced image manipulations like filters, watermarks, or compositing beyond basic resize and crop.
  • Teams that prefer fully managed services without self-hosting complexities or external dependencies like ImageMagick.

Pros & Cons

Pros

Automatic Format Delivery

Serves WebP, AVIF, or JPEG XL based on client Accept headers with fallbacks, ensuring modern format support without manual configuration, as highlighted in the features.

Smart Optimization Defaults

Zero-config API intelligently sets quality and compression, reducing integration complexity and maintenance, aligning with the project's philosophy of hiding smartness in implementation.

Responsive & High-DPI Ready

Generates appropriately sized images for different screen densities and responsive layouts, improving performance across devices, as noted in the key features.

Client Hint Integration

Supports Save-Data header to automatically serve lower-quality images for data-saving modes, enhancing user experience on limited connections, per the README.

Cons

External Dependency on ImageMagick

Self-hosting requires ImageMagick v7.0.25+ with AVIF support installed, adding setup complexity and potential version compatibility issues, as mentioned in the 'Running from source code' section.

Limited Transformation API

Only offers four endpoints (optimise, resize, fit, asis), which may not cover all use cases like SVG support or advanced edits, as indicated by the Todo list including SVG as a pending feature.

SaaS Feature Gaps

Key features like API key support, S3 integration, and dashboards are only available in the SaaS version, potentially pushing users towards vendor lock-in, as noted in the SaaS section.

Frequently Asked Questions

Quick Stats

Stars291
Forks19
Contributors0
Open Issues3
Last commit10 months ago
CreatedSince 2016

Tags

#responsive-images#api#golang-package#webp-support#avif#image-optimization#web-performance#image-processing#docker#golang#image-compression#go#self-hosted#webp

Built With

G
Go
I
ImageMagick
D
Docker

Links & Resources

Website

Included in

Go169.1k
Auto-fetched 1 day ago

Related Projects

gocvgocv

Go package for computer vision using OpenCV 4 and beyond. Includes support for DNN, CUDA, OpenCV Contrib, and OpenVINO.

Stars7,510
Forks899
Last commit4 months ago
imaginaryimaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing

Stars6,084
Forks500
Last commit11 months ago
imagingimaging

Imaging is a simple image processing package for Go

Stars5,766
Forks480
Last commit3 years ago
gggg

Go Graphics - 2D rendering in Go with a simple API.

Stars4,794
Forks387
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub