h2non/bimg is a Backend project on GitHub, written primarily in Go. It has 3.0k stars. Go package for fast high-level image processing powered by libvips C library
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Small Go package for fast high-level image processing using libvips via C bindings, providing a simple programmatic API.
bimg was designed to be a small and efficient library supporting common image operations such as crop, resize, rotate, zoom or watermark. It can read JPEG, PNG, WEBP natively, and optionally TIFF, PDF, GIF and SVG formats if [email protected]+ is compiled with proper library bindings. Lastly AVIF is supported as of [email protected]+. For AVIF support libheif needs to be compiled with an applicable AVIF en-/decoder.
bimg is able to output images as JPEG, PNG and WEBP formats, including transparent conversion across them.
bimg uses internally libvips, a powerful library written in C for image processing which requires a low memory footprint
and it's typically 4x faster than using the quickest ImageMagick and GraphicsMagick settings or Go native image package, and in some cases it's even 8x faster processing JPEG images.
If you're looking for an HTTP based image processing solution, see imaginary.
bimg was heavily inspired in sharp, its homologous package built for node.js. bimg is used in production environments processing thousands of images per day.
v1 notice: bimg introduces some minor breaking changes in v1 release.
If you're using gopkg.in, you can still rely in the v0 without worrying about API breaking changes.
Contents
Supported image operations
Prerequisites
Installation
Performance
Benchmark
Examples
Debugging
API
Authors
Credits
Supported image operations
Resize
Enlarge
Crop (including smart crop support, libvips 8.5+)
Rotate (with auto-rotate based on EXIF orientation)
Flip (with auto-flip based on EXIF metadata)
Flop
Zoom
Thumbnail
Extract area
Watermark (using text or image)
Gaussian blur effect
Custom output color space (RGB, grayscale...)
Format conversion (with additional quality/compression settings)
The most recent commit recorded on h2non/bimg was 1.6 years ago, based on the GitHub push timestamp. The repository has 345 forks — one of the better signals of community interest.
How many stars does h2non/bimg have?
h2non/bimg has 3.0k GitHub stars — refresh the page for the live number, or check github.com/h2non/bimg. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is h2non/bimg open source?
Yes — h2non/bimg ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/h2non/bimg.
What else is in the Backend space?
h2non/bimg is tracked by TopGit under the Backend category, alongside 11 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
The project maintains a homepage at https://pkg.go.dev/github.com/h2non/bimg?tab=doc. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about h2non/bimg?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/h2non/bimg is the definitive source.
Read full README in the tab above.
Is bimg worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of bimg.