somnidS
Deno16mo ago
10 replies
somnid

Can Deno Jupyter output images like jpegs?

Docs aren't super clear about this. I naively thought this would work:

const img = await Deno.readFile("./my-image.jpg");

await Deno.jupyter.display({
    "image/jpeg" : img
})


But it just does normal console.log of the object.
Was this page helpful?