#include #include #include "ppm.h" int main(int argc, char *argv[]) { Image img; ppm_read("images/boxes_1.ppm", &img); printf("width: %d\n", img.width); printf("height: %d\n", img.height); printf("bits: %d\n", img.pixel_bits); printf("data[2]: %d\n", img.data[2]); return 0; }