Commit graph

4 commits

Author SHA1 Message Date
Rohan Singh
1fabc3b466
Fix memory leak in animation encoding (#1)
We were never freeing the buffer that holds the assembled WebP
animation.

Instead, copy the buffer into Go and free it right after assembly.
2022-08-02 18:19:33 -04:00
Rohan Singh
fb5d8a6b3d Add documentation and tests for animation 2020-09-18 10:01:55 -04:00
Rohan Singh
7430f2cbfa Fix animation timing
The timing of the final animation frame wasn't being recorded correctly.
2020-02-24 15:50:34 -05:00
Rohan Singh
1c4bc9fe39 Add support for creating an animated WebP
This initial implementation doesn't fully expose the `WebPAnimEncoderOptions`.
It also still needs some unit tests and examples.
2020-01-13 14:27:58 -05:00