View Source Image.Options.Histogram (image v0.54.4)

Options and option validation for Image.Histogram.as_svg/2.

Summary

Types

@type histogram_option() ::
  {:width, pos_integer() | :auto} | {:height, pos_integer() | :auto}

Options applicable to Image.Histogram.as_svg/2.

@type histogram_options() :: [histogram_option()] | map()

Options list or map for Image.Histogram.as_svg/2.

Functions

Link to this function

validate_options(options)

View Source

Validate the options for Image.Histogram.as_svg/2.