#ifndef IMAGE_H #define IMAGE_H #include typedef struct { int width; int height; uint8_t *data; } image_t; int image_load(image_t *img, const char *filename); int image_resize(image_t *src, image_t *dst, int new_w, int new_h); void image_free(image_t *img); void image_free_raw(image_t *img); #endif // !IMAGE_H