A simple Go package providing basic image processing functions like resize, rotate, crop, and color adjustments.
Imaging is a Go package that provides basic image processing functions including resizing, cropping, rotating, and color adjustments. It solves the need for a simple, lightweight library to manipulate images in Go applications without complex dependencies.
Go developers who need to perform common image manipulation tasks like resizing photos, applying filters, or adjusting colors in their applications.
Developers choose Imaging for its simplicity, clean API, and compatibility with Go's standard image interfaces, offering essential functionality without the complexity of more advanced image processing libraries.
Imaging is a simple image processing package for Go
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers a range of filters like Lanczos, CatmullRom, and Linear, enabling precise control over quality and speed trade-offs, as detailed in the resampling comparison table.
All functions accept any image.Image interface and return *image.NRGBA, ensuring easy integration with Go's standard library and predictable output types.
The Open function with AutoOrientation option automatically corrects image rotation based on EXIF data, addressing a common issue in image processing workflows.
Includes functions for brightness, contrast, saturation, hue, and gamma correction, with clear examples demonstrating the impact of different parameter values.
Lacks support for sRGB/Linear color space conversions and different output image types, which are available in more advanced libraries like gift, as noted in the FAQ.
Always returns *image.NRGBA images, requiring additional conversion steps for projects that need to preserve original formats or work with other image types.
While lightweight, it may not be optimized for high-throughput or real-time scenarios compared to specialized libraries, relying on CPU-based processing without hardware acceleration.