Skip to content

fix: render IPython.display.Image with raw bytes (e.g. GIFs)#8282

Merged
akshayka merged 1 commit intomainfrom
aka/fix-ipython-image-formatter
Feb 12, 2026
Merged

fix: render IPython.display.Image with raw bytes (e.g. GIFs)#8282
akshayka merged 1 commit intomainfrom
aka/fix-ipython-image-formatter

Conversation

@akshayka
Copy link
Contributor

Add formatter for IPython.display.Image

Add a dedicated formatter for IPython.display.Image that converts raw image bytes to data URLs, enabling GIFs and other image formats to render correctly. Also handle base64-encoded strings in mimebundles from repr_mimebundle by wrapping them as data URLs.

anchor-gif

Add a dedicated formatter for IPython.display.Image that converts raw
image bytes to data URLs, enabling GIFs and other image formats to
render correctly. Also handle base64-encoded strings in mimebundles
from _repr_mimebundle_ by wrapping them as data URLs.
@akshayka akshayka added the enhancement New feature or request label Feb 12, 2026
@akshayka akshayka requested a review from mscolnick February 12, 2026 20:20
@vercel
Copy link

vercel bot commented Feb 12, 2026

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

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment Feb 12, 2026 8:20pm

Request Review

@akshayka akshayka merged commit cd15db1 into main Feb 12, 2026
31 of 45 checks passed
@akshayka akshayka deleted the aka/fix-ipython-image-formatter branch February 12, 2026 21:07
@github-actions
Copy link

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.19.12-dev1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

2 participants