#include #include #include #include #include #include int open_image(struct image *image, struct file_handle *file) { image->file = file; if (!bmp_open_image(image, file)) return 0; return -1; }