26 #ifndef LIBOPENRAW_THUMBNAILS_H_ 27 #define LIBOPENRAW_THUMBNAILS_H_ 31 #include <libopenraw/types.h> 32 #include <libopenraw/consts.h> 38 typedef struct _Thumbnail *ORThumbnailRef;
48 or_error or_get_extract_thumbnail(
const char* filename,
49 uint32_t preferred_size,
50 ORThumbnailRef *thumb);
55 or_thumbnail_new(
void);
60 or_thumbnail_release(ORThumbnailRef thumb);
65 or_thumbnail_format(ORThumbnailRef thumb);
68 or_thumbnail_data(ORThumbnailRef thumb);
71 or_thumbnail_data_size(ORThumbnailRef thumb);
74 or_thumbnail_dimensions(ORThumbnailRef thumb,
75 uint32_t *x, uint32_t *y);