Module native

Source
Expand description

Native-only functions. Includes functions that open images from the file-system, etc.,

Enums§

Error

Functions§

image_to_bytes
Save the image to a vector of bytes
open_image
Open an image at a given path from the filesystem. A PhotonImage is returned.
open_image_from_bytes
Saves a image from a byte slice A PhotonImage is returned.
save_image
Save the image to the filesystem at a given path.