Skip to content

Convert PIL image objects to data uri strings in JSON serialization. #1991

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

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

jonmmease
Copy link
Contributor

@jonmmease jonmmease commented Dec 10, 2019

This conversion is already done by the layout.image.source validator, but this way it will also happen when serializing from a dict without validation, and for images that show up elsewhere in the figure (as mapbox layers for example)

This conversion is already done by the layout.image.source validator,
this this way it will also happen when serializing from a dict without
validation, and for images that show up elsewhere in the figure
(as mapbox layers for example)
@jonmmease jonmmease merged commit 97e4378 into master Dec 10, 2019
@jonmmease jonmmease deleted the serialize_pil_image branch December 10, 2019 13:28
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.

1 participant