We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Overlaying GIFS over a base GIF / merging multiple GIFs together.
I've searched, but did not find an equivalent issue
const compositeGif = someGif.gif const finalImage = await sharp(compositeGif, { animated: true }).composite([ { input: gifBuffer1, tile: true }, { input: gifBuffer2, tile: true } ], {}).gif()
It appears that sharp is currently only capable of overlaying static images (PNG, JPEG) over a base GIF. Is there something I'm missing here?
The text was updated successfully, but these errors were encountered:
Docs: composite image supports the animated property #3135
ac883c5
To use all frames of an animated image as the overlay, try something like:
input: gifBuffer1, + animated: true, tile: true
This was missing from the docs, which I've just corrected in ac883c5
To stitch together animated images, so the frames of one follow another, please see future possible enhancement #1580
Sorry, something went wrong.
Thanks a ton, works like a charm!
Docs: composite image supports the animated property lovell#3135
f27447b
No branches or pull requests
Question about an existing feature
What are you trying to achieve?
Overlaying GIFS over a base GIF / merging multiple GIFs together.
When you searched for similar issues, what did you find that might be related?
I've searched, but did not find an equivalent issue
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question
It appears that sharp is currently only capable of overlaying static images (PNG, JPEG) over a base GIF. Is there something I'm missing here?
The text was updated successfully, but these errors were encountered: