#27 · Primary category: Self-Hosted File Processing & Conversion

lilliput

cgo crop gif golang image image-resizer imageops images jpeg png resize-images resized-images thumbnail webp

Resize images and animated GIFs in Go

Project last updated:08/18/26

GitHub Stars

2.1K

Forks

127

Contributors

24

License

Other

Why we included this project

Discord built lilliput for high throughput image resizing, and the design reflects that. The Go library leans on mature C codecs through cgo for JPEG, PNG, WebP, AVIF, and animated GIFs, and it deliberately avoids allocating garbage in Go, which keeps memory pressure low when you are processing images at scale. It also converts between formats and can pull the first frame from MOV and WEBM files, which is handy for generating previews. One caveat before you adopt it: it currently only supports OSX ARM64 and Linux, so confirm that matches your deployment environment.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category