h2non/bimg
Go package for fast high-level image processing powered by libvips C library observed · 2026-08-28
Health v2 · maintenance only
24/100
- Activity 3
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4187
- days_rel: n/a
- days_push: 587
- n_releases_24m: 0
Adoption not part of the score
3030 stars · 346 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
bimg is a small, fast Go library for high-level image processing built on the libvips C library via bindings. It supports operations like resize, crop, rotate, zoom, watermark, blur, and format conversion (JPEG, PNG, WEBP, and optionally TIFF, PDF, GIF, SVG, AVIF) with a low memory footprint and performance typically several times faster than ImageMagick or Go's native image package.
Use cases
- resize and crop images in a Go service
- generate thumbnails for uploaded photos
- add text or image watermarks to images
- convert images between JPEG, PNG, and WEBP
- auto-rotate images based on EXIF orientation
- apply gaussian blur or grayscale effects to images
- process large batches of images quickly with low memory
When to choose
- you need fast, memory-efficient image processing in Go
- you want a simple programmatic API over libvips
- you need format conversion including WEBP and AVIF
- throughput matters more than ImageMagick-based alternatives
When to avoid
- you need an HTTP-based image processing API (use imaginary instead)
- you cannot install libvips and a C compiler in your environment
- you need advanced editing features beyond bimg's supported operations
- you want a pure-Go solution with no C dependencies
Facets
library · maturity stable
image-processing image-processing web-development developer-tools windows go cross-platform libvips resize crop watermark format-conversion jpeg png webp avif thumbnailing linux macos
4 sources
- readme: https://github.com/h2non/bimg · fetched 2026-08-28 · 9fb68e63ef00
- homepage: https://pkg.go.dev/github.com/h2non/bimg?tab=doc · fetched 2026-08-29 · 53bcb39fc9e1
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| h2non/bimg | main | 24 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem