int img_register_png(void) { static struct ftype_module mod = {".png", check_file, read_file, write_file}; return img_register_module(&mod); }
int img_register_jpeg(void) { static struct ftype_module mod = {".jpg", check, read, write}; return img_register_module(&mod); }
int img_register_rgbe(void) { static struct ftype_module mod = {".rgbe:.pic:.hdr", check, read, write}; return img_register_module(&mod); }