Module image::image

source ·

Structs

Enums

  • An enumeration of supported image formats. Not all formats support both encoding and decoding.
  • An enumeration of supported image formats for encoding.

Traits

Functions

  • Reads all of the bytes of a decoder into a Vec. No particular alignment of the output buffer is guaranteed.
  • load_rect 🔒
    Decodes a specific region of the image, represented by the rectangle starting from x and y and having length and width

Type Aliases

  • DerefPixel 🔒
    Alias to access Pixel behind a reference
  • Alias to access Subpixel behind a reference