#define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #include "image.h" uchar *load_image(const char *path, struct IVec2 *dims) { int _channels; return stbi_load(path, &dims->x, &dims->y, &_channels, STBI_rgb_alpha); }