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

Options and option validation for Image.chroma_key/2.

Summary

Types

Options applicable to Image.chroma_key/2

Types

@type chroma_key_options() ::
  [
    color: Image.Color.t() | :auto,
    threshold: non_neg_integer(),
    greater_than: Image.Color.t(),
    less_than: Image.Color.t(),
    sigma: float(),
    min_amplitude: float()
  ]
  | map()

Options applicable to Image.chroma_key/2

Functions

Link to this function

validate_options(options)

View Source

Validate the options for Image.chroma_key/2.