23IOResult(ImageOpenResult, ImageParserResult);
47IOResult(ImageSaveResult, ImageBuilderResult);
Image handling functions.
ImageParserResult ImageParser(FileBuffer buffer)
Function that converts image data to a specific format.
Definition image_io.h:28
ImageOpenResult image_open(char const *img_path, ImageParser *parser)
Read and parse image.
ImageBuilderResult ImageBuilder(Image img)
Function that builds data for a specific image file.
Definition image_io.h:52
ImageSaveResult image_save(char const *img_path, Image img, ImageBuilder *builder)
Build and save image.
#define Result(name, value_t, status_t)
Result with value and status.
Definition result.h:32
Data buffer with size.
Definition _file.h:17
RGB image.
Definition image.h:39