Options and option validation for Image.warp_perspective/4.
Summary
Functions
Validate the options for Image.warp_perspective/4.
Types
@type t() :: [warp_perspective_option()]
Options for Image.warp_perspective/4.
@type warp_perspective_option() :: {:background, Image.BackgroundColor.spec() | nil} | {:extend_mode, Image.Options.Affine.extend_mode()}
Options applicable to Image.warp_perspective/4.
Functions
@spec validate_options(Vix.Vips.Image.t(), Keyword.t()) :: {:ok, Keyword.t()} | {:error, Image.error()}
Validate the options for Image.warp_perspective/4.