View Source Image.Options.Resize (image v0.2.0)

Options and option validation for Image.resize/3.

Link to this section Summary

Types

Options applicable to Image.resize/3

Link to this section Types

@type resize_dimension() :: :width | :height | :both
@type resize_options() :: [
  autorotate: boolean(),
  intent: Image.render_intent(),
  export_icc_profile: Image.Color.icc_profile(),
  import_icc_profile: Image.Color.icc_profile(),
  linear: boolean(),
  resize: resize_dimension(),
  height: pos_integer(),
  crop: Image.Options.Crop.crop_focus()
]

Options applicable to Image.resize/3

Link to this section Functions