Crate nstd_image

Source

Structs§

NSTDImage
Represents an image.

Enums§

NSTDImageFormat
Represents an image format.

Functions§

nstd_image_free
Frees image data. Parameters: NSTDImage *image - Pointer to the image data.
nstd_image_load
Loads an image from memory. Parameters: const NSTDSlice *const bytes - Raw image data. Returns: NSTDImage image - The image.
nstd_image_open
Opens an image from a file. Parameters: const char *const file_name - Path to the image file. Returns: NSTDImage image - The image.

Type Aliases§

NSTDImageHandle
Represents a pointer to some image data.