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

Multiple PNGs to Animated GIF #2385

Closed
cthorner opened this issue Sep 25, 2020 · 1 comment
Closed

Multiple PNGs to Animated GIF #2385

cthorner opened this issue Sep 25, 2020 · 1 comment
Labels

Comments

@cthorner
Copy link

What are you trying to achieve?
Create an animated GIF from multiple different images. I'm thinking it is possible with the latest release, but this may be a feature request? Not sure.

Have you searched for similar questions?
Yes

Are you able to provide a minimal, standalone code sample that demonstrates this question?

sharp([image1.png, image2.png, image3.png, image4.png], { animated: true , delay: [100,200,300,100]})
.toFile('animated.gif')

Are you able to provide a sample image that helps explain the question?

@lovell
Copy link
Owner

lovell commented Sep 27, 2020

You'll probably need the future possible enhancement detailed at #1580 for this.

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

No branches or pull requests

2 participants