puppeteer-lottie icon indicating copy to clipboard operation
puppeteer-lottie copied to clipboard

Support animated WebP

Open Dwite opened this issue 4 years ago • 3 comments

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

Dwite avatar Jul 10 '20 05:07 Dwite

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

Thanks 😄

transitive-bullshit avatar Jul 10 '20 06:07 transitive-bullshit

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

Dwite avatar Jul 10 '20 07:07 Dwite

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.

ed-asriyan avatar Jul 10 '20 16:07 ed-asriyan