Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Animated PNG (.apng) as output format #15

Open
LinusU opened this issue Mar 23, 2020 · 2 comments
Open

Add Animated PNG (.apng) as output format #15

LinusU opened this issue Mar 23, 2020 · 2 comments

Comments

@LinusU
Copy link

LinusU commented Mar 23, 2020

This can currently be done by doing it in two steps:

puppeteer-lottie -i input.json -o 'frame-%d.png'
ffmpeg -r 30 -i frame-%d.png output.apng

But it would be nice if the CLI could do this automatically ☺️

Also, I'm not exactly sure about the framerate. It would be nice if it would be customisable so that we can get a 60-fps animated png file (maybe related to #2)

@transitive-bullshit
Copy link
Owner

PRs welcome 😄

@LinusU
Copy link
Author

LinusU commented Mar 23, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants