Macros§
Enums§
- Dynamic
Image - A Dynamic Image
Functions§
- decoder_
to_ 🔒image - Decodes an image and stores it into a dynamic image
- image_
dimensions - 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.
- load_
from_ memory - Create a new image from a byte slice
- load_
from_ memory_ with_ format - Create a new image from a byte slice
- open
- Open the image located at the path specified. The image’s format is determined from the path’s file extension.
- save_
buffer - Saves the supplied buffer to a file at the path specified.
- save_
buffer_ with_ format - Saves the supplied buffer to a file at the path specified in the specified format.
- write_
buffer_ with_ format - Writes the supplied buffer to a writer in the specified format.