View Source Image.Kino (image v0.28.0)
Helper functions to simplify rendering images in Kino.
Link to this section Summary
Link to this section Functions
@spec show(image :: Vix.Vips.Image.t(), options :: Keyword.t()) :: Vix.Vips.Image.t()
Renders an image in Kino,
arguments
Arguments
imageis anyVix.Vips.Image.t/0.optionsis a keyword list of options.
options
Options
:max_heightdetermines the maximum height for the rendered image. The aspect ratio of the rendered image is unchanged. The default is200.
returns
Returns
maybe_resized_imageof typeKino.Image.t/0.