Image
Documentation for the `image` function.
A raster or vector graphic.
You can wrap the image in a figure to give it a number and caption.
Like most elements, images are block-level by default and thus do not integrate themselves into adjacent paragraphs. To force an image to become inline, put it into a box.
Example
#figure( image("molecular.jpg", width: 80%), caption: [ A step in the molecular testing pipeline of our lab. ],)
#image(
source,
format: auto | str | dictionary,
width: auto | relative,
height: auto | relative | fraction,
alt: none | str,
page: int,
fit: str,
scaling: auto | str,
icc: auto | str | bytes
) -> contentParameters
Prop
Type
Definitions
Decode a raster or vector graphic from bytes or a string.
#image.decode(
data,
format: auto | str | dictionary,
width: auto | relative,
height: auto | relative | fraction,
alt: none | str,
fit: str,
scaling: auto | str
) -> contentParameters
Prop
Type