Skip to content

Support Images that conform to ipython.display.display #1273

@madhavajay

Description

@madhavajay

Problem

A lot of image classes out there support ipython.display's repr_jpeg or repr_png.

Is your feature request related to a problem? Please describe the problem here. Ex. I'm always frustrated when [...]
Yes, I expected that when I passed a fastai.vision.image.Image to streamlit it would display it.
It did not.

Solution

MVP: What's the smallest possible solution that would get 80% of the problem out of the way?
I have coded the solution.

Possible additions: What are other things that could be added to the MVP over time to make it better?

Preferred solution: If you don't like the MVP above, tell us why, and what you'd like done instead.


Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.

If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions