Skip to content

RobCherry/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/RobCherry/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/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

Roadmap

  • Documentation
  • Tests

Author

Rob Cherry

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