This package is powered by the libvips image processing library, originally created in 1989 at Birkbeck College and currently maintained by John Cupitt.
- libvips v8.5.0+
go get github.com/RobCherry/govips
brew install homebrew/science/vips --with-imagemagick --with-webp
TODO
In your own code:
import "github.com/RobCherry/govips"
...
govips.Initialize();
...
From the command line (go install github.com/RobCherry/govips/cli
):
cli -r 300x300 -q 90 -fast-resize -v path/to/input.jpg path/to/output.jpg
- Documentation
- Tests
Contributions welcome! Please fork the repository and open a pull request with your changes.
The provided sRGB ICC profile is from icc-profiles-free
The provided CMYK ICM profile is from Argyll Color Management System