22 #ifndef __LIBOPENRAW_RAWFILE_H_ 23 #define __LIBOPENRAW_RAWFILE_H_ 25 #include <libopenraw/types.h> 26 #include <libopenraw/consts.h> 27 #include <libopenraw/rawdata.h> 28 #include <libopenraw/thumbnails.h> 29 #include <libopenraw/metadata.h> 30 #include <libopenraw/bitmapdata.h> 36 typedef struct _RawFile *ORRawFileRef;
43 or_get_file_extensions();
46 or_rawfile_new(
const char* filename, or_rawfile_type type);
49 or_rawfile_new_from_memory(
const uint8_t *buffer, uint32_t len, or_rawfile_type type);
52 or_rawfile_release(ORRawFileRef rawfile);
55 or_rawfile_get_type(ORRawFileRef rawfile);
59 or_rawfile_get_typeid(ORRawFileRef rawfile);
62 or_rawfile_get_thumbnail(ORRawFileRef rawfile, uint32_t preferred_size,
63 ORThumbnailRef thumb);
66 or_rawfile_get_rawdata(ORRawFileRef rawfile, ORRawDataRef rawdata,
74 or_rawfile_get_rendered_image(ORRawFileRef rawfile, ORBitmapDataRef rawdata,
84 or_rawfile_get_orientation(ORRawFileRef rawfile);
92 or_rawfile_get_metavalue(ORRawFileRef rawfile, int32_t meta_index);
100 or_rawfile_get_xmp(ORRawFileRef rawfile);