28#ifndef __nvdialog_image_h__
29#define __nvdialog_image_h__ 1
#define NVD_API
Definition nvdialog.h:113
NVD_API NvdImage * nvd_create_image(const uint8_t *data, int width, int height)
Creates an NvdImage from the given buffer (data). Although recommended, it is not necessary to use nv...
NVD_API uint8_t * nvd_image_to_bytes(NvdImage *image)
Returns the raw image bytes that the given image contains.
NVD_API const uint8_t * nvd_image_from_filename(const char *filename, int *width, int *height)
struct _NvdImage NvdImage
Data that can be interpeted as an image.
Definition nvdialog_image.h:52
NVD_API void nvd_destroy_image(NvdImage *image)
Destroys an NvdImage.