Skip to content

bandlab/govips

 
 

Repository files navigation

Vips for Go

GoDoc Report Card

This package is powered by the libvips image processing library, originally created in 1989 at Birkbeck College and currently maintained by John Cupitt.

Prerequisites

Installation

go get github.com/bandlab/govips

Install libvips on Mac OS

brew install homebrew/science/vips --with-imagemagick --with-webp

Install libvips on Linux

TODO

Usage

In your own code:

import "github.com/bandlab/govips"

...
govips.Initialize();
...

From the command line (go install github.com/bandlab/govips/cli):

cli -r 300x300 -q 90 -fast-resize -v path/to/input.jpg path/to/output.jpg

Roadmap

  • Documentation
  • Tests

Author

Rob Cherry (original fork) Andrew Watts (this fork, for BandLab (GitHub))

Contributing

Contributions welcome! Please fork the repository and open a pull request with your changes.

Notes

The provided sRGB ICC profile is from icc-profiles-free

The provided CMYK ICM profile is from Argyll Color Management System

Releases

No releases published

Packages

No packages published

Languages

  • Go 91.0%
  • C 9.0%