View Source Image.Options.New (image v0.42.0)

Options for new images.

Summary

Types

@type t() :: [
  bands: pos_integer(),
  format: Image.BandFormat.t(),
  interpretation: Image.Interpretation.t(),
  color: float() | Image.pixel(),
  x_res: number(),
  y_res: number(),
  x_offset: number(),
  y_offset: number()
]

Functions

Link to this function

set_default_bands(options)

View Source
Link to this function

validate_options(options)

View Source

Validate the options for Image.new/2.