Open
Description
using Images
img = load("my dog.jpg")
@assert Base.showable(MIME"image/jpeg"(), img)
m("div", x)
Gives me
<div>
Images.Image{blablalba} blablab
</div>
Hyperscript.jl could check Base.showable
for MIME types like images and audio, and base64-encode the result. This would give
<div>
<img src="data:image/jpeg;base64,blablablalblkdjflgj42i9832d..." />
</div>
Do you think that this fits within the scope of the project?
Metadata
Metadata
Assignees
Labels
No labels