/
View dependency graph
Depends on
- dh-golang (dh-sequence-golang)
- golang-defaults (golang-any)
- golang-golang-x-image (golang-golang-x-image-dev)
- libwebp (libwebp-dev)
- debhelper-compat
Used by
README (full)
This library provides C bindings and an API for encoding Webp images using Google's libwebp.
It is based on go-webp, but this includes and builds the libwebp C source from a versioned Git subtree.
Update libwebp version
- Pull in the relevant libwebp version, e.g.
./pull-libwebp.sh v1.2.0 - Regenerate wrappers with
go generate ./gen - Update the libwebp version badge above.
Local development
Compiling C code isn' particulary fast; if you install libwebp on your PC you can link against that, useful during development.
On a Mac you may do something like:
brew install webp
go test ./libwebp -tags dev
| dir | .github/ |
| dir | debian/ |
| dir | gen/ |
| dir | internal/ |
| dir | libwebp/ |
| dir | libwebp_src/ |
| dir | test_data/ |
| file | .gitignore |
| file | FUNDING.yml |
| file | LICENSE |
| file | README.md |
| file | go.mod |
| file | go.sum |
| file | pull-libwebp.sh |