transitive-bullshit / puppeteer-lottie

Renders Lottie animations via Puppeteer to image, GIF, or MP4.
359 stars 71 forks source link

Support animated WebP #31

Open Dwite opened 4 years ago

Dwite commented 4 years ago

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

transitive-bullshit commented 4 years ago

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

Thanks 😄

Dwite commented 4 years ago

@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 😄

ed-asriyan commented 4 years ago

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.