struct lbx_image *lbx_img_open(void *f, const struct lbx_file_ops *fops,
int (*destructor)(void *));
struct lbx_image *lbx_img_fopen(const char *file);
struct lbx_image *lbx_img_open(void *f, const struct lbx_file_ops *fops,
int (*destructor)(void *));
struct lbx_image *lbx_img_fopen(const char *file);