#include #include #include #include typedef struct { uint32_t width; uint32_t height; uint8_t* buffer; } image_T; int main() { printf("Line Cutter - Juniorcamp Informatik\n"); const char* filename = "../paris.png"; printf("loading '%s'...\n", filename); image_T image; image.buffer = img_load_pixels(filename, (int*)&image.width, (int*)&image.height, IMG_FMT_RGBA32); printf("destructing resources\n"); img_free_pixels(image.buffer); return 0; }