5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-14 08:30:27 +00:00
matterbridge/vendor/github.com/sizeofint/webpanimation/readme.md
Benau 53cafa9f3d
Convert .tgs with go libraries (and cgo) (telegram) (#1569)
This commit adds support for go/cgo tgs conversion when building with the -tags `cgo`
The default binaries are still "pure" go and uses the old way of converting.

* Move lottie_convert.py conversion code to its own file

* Add optional libtgsconverter

* Update vendor

* Apply suggestions from code review

* Update bridge/helper/libtgsconverter.go

Co-authored-by: Wim <wim@42.be>
2021-08-24 22:32:50 +02:00

481 B

webpanimation

Packge is binding to libwebp providing methods to create webp animations from golang image.Image interface

Installing

go get github.com/sizeofint/webpanimation

Examples

Check out examples folder

Dependencies

The only dependency is libwebp, it source code are embeded in package so no additional installations are needed on machine. It can be updated to latest libwebp via ./generate_from_libwebp.py /path/to/clean/libwebp/src/