View Source Image.Options.Trim (image v0.55.2)

Options and option validation for Image.trim/2.

Summary

Types

Options applicable to Image.trim/2

Types

@type trim_options() :: [
  background: Image.Color.t() | :auto | :alpha,
  threshold: non_neg_integer()
]

Options applicable to Image.trim/2

Functions

Link to this function

validate_options(options)

View Source

Validate the options for Image.trim/2.