View Source Image.Kino (image v0.33.0)

Helper functions to simplify rendering images in Kino.

Link to this section Summary

Functions

Renders an image in Kino,

Link to this section Functions

Link to this function

show(image, opts \\ [])

View Source (since 0.18.0)
@spec show(image :: Vix.Vips.Image.t(), options :: Keyword.t()) :: Vix.Vips.Image.t()

Renders an image in Kino,

arguments

Arguments

options

Options

  • :max_height determines the maximum height for the rendered image. The aspect ratio of the rendered image is unchanged. The default is 200.

returns

Returns