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

Options and option validation for Image.modulate/2.

Summary

Types

Valid options for Image.modulate/2.

Options applicable to Image.modulate/2

Types

@type modulate_option() ::
  {:brightness, float()}
  | {:lightness, float()}
  | {:saturation, float()}
  | {:hue, integer()}

Valid options for Image.modulate/2.

@type modulate_options() :: [modulate_option()] | map()

Options applicable to Image.modulate/2

Functions