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

feat: Add <AnimatedImage> for GIF, WebP, and AVIF Support! #4318

Closed

Conversation

zyronite
Copy link

What does this PR do?

This PR introduces a new <AnimatedImage> component that utilizes the ImageDecoder API to display animated images such as GIFs, WebP, and AVIF formats. The component fetches the image, decodes animation frames, and renders them on a canvas based on the current frame in the Remotion video timeline. It includes error handling for unsupported image formats and browsers that do not support the ImageDecoder API, ensuring compatibility and smooth animated image rendering.

Fixes #4175
/claim #4175

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • I have added a Docs issue here if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

Copy link

vercel bot commented Sep 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bugs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 19, 2024 6:07pm
remotion ❌ Failed (Inspect) Sep 19, 2024 6:07pm
remotion-convert ❌ Failed (Inspect) Sep 19, 2024 6:07pm

Copy link

algora-pbc bot commented Sep 19, 2024

💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe.

@JonnyBurger
Copy link
Member

This issue is already assigned!
Please dont start working unless we confirm you, because otherwise work gets done twice and that‘s unnecessary and difficult..

Lets see now what to do, but please pause for now

@zyronite
Copy link
Author

This issue is already assigned!

Please dont start working unless we confirm you, because otherwise work gets done twice and that‘s unnecessary and difficult..

Lets see now what to do, but please pause for now

My Bad, Got it - I thought It's not assigned.

@zyronite zyronite closed this Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<AnimatedImage> component
3 participants