build: 209ms
run: 6ms
Image cells allow you to use images.
dc.Image("img/wallhaven-0qy15n.jpg")
An image can be defined in two ways: by using a path to an image file, or by using an image.Image
instance. Similarly to annotated value cells, an annotation may be attached to an image:
var img image.Image = stripes()
dc.Image("Path to an image", "img/red-pandas.jpg", "image.Image instance", img)