image

Module 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ยง

  • decoder_to_vec ๐Ÿ”’
    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
  • DerefSubpixel ๐Ÿ”’
    Alias to access Subpixel behind a reference