Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
arithmetic.go
arithmetic.h
colour.go
colour.h
conversion.go
conversion.h
convolution.go
convolution.h
foreign.go
foreign.h
header.go
header.h
image.go
init.go
init.h
resample.go
resample.h
util.go
vips_static.go

README.md

Fotomat VIPS Wrapper

A simple cgo wrapper around the C-based libvips that handles the conversion from Go semantics to C semantics.

To the greatest extent possible, VIPS function, argument, and constant names have been preserved. However, the "vips" prefix has been removed, since that's covered by the package name. And in accordance with Go style, Go method and variable names use CamelCase instead of snake_case.

Also see:

Limitations

Only the subset of the VIPS functionality that Fotomat uses is currently supported.

Many VIPS functions take optional arguments via the C varargs mechanism, which isn't compatible with cgo. To work around this, there are .h header files that expose a cgo_vips_*() version of the function that uses a fixed list of parameters.