Module image::dynimage

source ·

Macros

Enums

Functions

  • Decodes an image and stores it into a dynamic image
  • Read a tuple containing the (width, height) of the image located at the specified path. This is faster than fully loading the image and then getting its dimensions.
  • Create a new image from a byte slice
  • Create a new image from a byte slice
  • Open the image located at the path specified. The image’s format is determined from the path’s file extension.
  • Saves the supplied buffer to a file at the path specified.
  • Saves the supplied buffer to a file at the path specified in the specified format.
  • Writes the supplied buffer to a writer in the specified format.