bild is a Go library of image filters, transforms, and I/O helpers, with an optional command-line tool for common edits.
Overview
bild collects image processing algorithms implemented in pure Go. The focus is straightforward use and development rather than maximum raw speed, though many operations use parallelism when the runtime allows.
Packages cover adjustment, blend modes, blur, channel extraction, effects, histograms, noise generation, flood fill, threshold segmentation, and geometric transforms. Operations return standard library image types and rely on the Go standard library where possible to limit dependencies.
You import packages in your own Go programs or use the bild CLI for tasks such as median filtering, Lanczos resize, rotation, crop, and format conversion. imgio opens PNG, JPEG, BMP, and WebP and can encode back to those formats based on file extension.
Precompiled CLI binaries are published per platform on the releases page, or you can compile from source. Go 1.25 or newer is required.
Key features
- Adjust brightness, contrast, gamma, hue
- Blend modes and blur filters
- Edge, emboss, and median effects
- Resize with multiple resampling filters
- Rotate, crop, flip, and translate
- PNG, JPEG, BMP, WebP I/O
- Parallel algorithm implementations
- Optional bild CLI
Use cases
- Server-side image pipelines in Go
- Batch resize and convert images
- Custom filter chains in code
- Histogram and segmentation utilities