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> 41 or_get_file_extensions();
44 or_rawfile_new(
const char* filename, or_rawfile_type type);
47 or_rawfile_new_from_memory(
const uint8_t *buffer, uint32_t len, or_rawfile_type type);
50 or_rawfile_release(ORRawFileRef rawfile);
53 or_rawfile_get_type(ORRawFileRef rawfile);
57 or_rawfile_get_typeid(ORRawFileRef rawfile);
65 or_rawfile_get_thumbnail_sizes(ORRawFileRef rawfile,
69 or_rawfile_get_thumbnail(ORRawFileRef rawfile, uint32_t preferred_size,
70 ORThumbnailRef thumb);
73 or_rawfile_get_rawdata(ORRawFileRef rawfile, ORRawDataRef rawdata,
82 or_rawfile_get_rendered_image(ORRawFileRef rawfile, ORBitmapDataRef rawdata,
92 or_rawfile_get_orientation(ORRawFileRef rawfile);
102 or_rawfile_get_colourmatrix1(ORRawFileRef rawfile,
double* matrix, uint32_t* size);
105 or_rawfile_get_colourmatrix2(ORRawFileRef rawfile,
double* matrix, uint32_t* size);
110 ExifLightsourceValue or_rawfile_get_calibration_illuminant1(ORRawFileRef rawfile);
111 ExifLightsourceValue or_rawfile_get_calibration_illuminant2(ORRawFileRef rawfile);
118 or_rawfile_get_metavalue(ORRawFileRef rawfile, int32_t meta_index);
127 or_rawfile_get_xmp(ORRawFileRef rawfile);