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

How to generate animation picture from an image sequence? #4154

Closed
Zxilly opened this issue Jul 9, 2024 · 1 comment
Closed

How to generate animation picture from an image sequence? #4154

Zxilly opened this issue Jul 9, 2024 · 1 comment
Labels

Comments

@Zxilly
Copy link

Zxilly commented Jul 9, 2024

Question about an existing feature

Follow https://sharp.pixelplumbing.com/api-constructor#sharp, I didn't find a way to init a Sharp instance with static image sequence to multi pages. It this possible right now?

What are you trying to achieve?

Read many pictures, assemble them to an animation gif/webp

When you searched for similar issues, what did you find that might be related?

I didn't find any. I remember seeing some discussion about this in the past, but I can't find it now.

Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question

sharp(inputPNGBufferArray)
  .gif()
  .toFile('output.gif', (err, info) => { ... });
@Zxilly Zxilly added the question label Jul 9, 2024
@Zxilly Zxilly changed the title How to generate animation picture from a static image sequence? How to generate animation picture from an image sequence? Jul 9, 2024
@lovell
Copy link
Owner

lovell commented Jul 9, 2024

There's an existing issue tracking this at #1580

@lovell lovell closed this as completed Jul 9, 2024
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