Skip to content

@remotion/studio: Insert AnimatedImage for animated WebP files#9303

Merged
JonnyBurger merged 1 commit into
mainfrom
codex/fix-animated-webp-drop
Jul 19, 2026
Merged

@remotion/studio: Insert AnimatedImage for animated WebP files#9303
JonnyBurger merged 1 commit into
mainfrom
codex/fix-animated-webp-drop

Conversation

@JonnyBurger

Copy link
Copy Markdown
Member

Summary

  • detect the ANIM chunk in WebP files and expose whether the image is animated
  • insert animated WebP files with <AnimatedImage> for local files, existing static assets, and remote URL imports
  • keep static WebP files mapped to <Img>

Verification

  • bun test packages/studio-shared/src/test/detect-file-type.test.ts packages/studio/src/test/import-assets.test.ts packages/studio-server/src/test/download-remote-asset.test.ts
  • bun run build
  • bun run stylecheck
  • verified against the WebP attached to the issue

Closes #9302

@pullfrog

pullfrog Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Pullfrog  | View workflow run | via Pullfrog | Using Kimi K2 (free via Pullfrog for OSS) | 𝕏

@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bugs Ready Ready Preview, Comment Jul 19, 2026 3:54pm
remotion Ready Ready Preview, Comment Jul 19, 2026 3:54pm

Request Review

@JonnyBurger
JonnyBurger merged commit 449e50f into main Jul 19, 2026
18 checks passed
@JonnyBurger
JonnyBurger deleted the codex/fix-animated-webp-drop branch July 19, 2026 15:57
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

Successfully merging this pull request may close these issues.

Dropping an animated image should use <AnimatedImage>

1 participant