transitive-bullshit / puppeteer-lottie

Renders Lottie animations via Puppeteer to image, GIF, or MP4.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support animated WebP

Dwite opened this issue · comments

Hello, do you have any plans to support rendering Lottie files to animated WebP?

This is a great suggestion & would make a straightforward first PR 💯

Thanks 😄

@transitive-bullshit sorry, I'm not quite sure I understand, do you want me to make the PR or you'll plan the implementation by yourself?

Currently, I have no idea how to add support for animated WebP 😄

Hi all!
I implemented webp generation in my fork: https://github.com/ed-asriyan/puppeteer-lottie/commit/958cd0aedc11887214e9712576c02f40914ed85d -- it was necessary for my projects. I can open a PR here, but the readme also needs to be updated, because it adds img2web tool as a dependency.