Image.Options.ChromaKey (image v0.73.0)

Copy Markdown View Source

Options and option validation for Image.chroma_key/2.

Summary

Types

Options applicable to Image.chroma_key/2

Types

chroma_key_options()

@type chroma_key_options() :: [
  color: Image.Pixel.t() | :auto,
  threshold: non_neg_integer(),
  greater_than: Image.Pixel.t(),
  less_than: Image.Pixel.t()
]

Options applicable to Image.chroma_key/2

Functions

validate_options(image, options)

Validate the options for Image.chroma_key/2.