Module dynimage

Source

Macros§

dynamic_map 🔒

Enums§

DynamicImage
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.