Skip to content

Image ​

A picture as a value, carrying a data: or other URI rather than pixels, so it serializes the same way in Node and in a browser; see Rasterize to build one from an SVG document.

FungrimImage
Image(uri, width, height)a picture as a value, carrying a data: or other URI rather than pixels
Typed signatures
TypePackageApplies
(string, number?, number?) -> expressionformatsalways

Domain: Graphics

Examples

Basic #

an image is a value carrying its URI, so it evaluates to itself

live ↗
InImage(data:image/png;base64,AAA)\mathrm{Image}(\text{data:image/png;base64,AAA})OutImage(data:image/png;base64,AAA)\mathrm{Image}(\text{data:image/png;base64,AAA})
About
Examples1
Checked againstWolfram Language 1 agree
CrosswalkFungrim