26 #ifndef __LIBOPENRAW_THUMBNAILS_H_
27 #define __LIBOPENRAW_THUMBNAILS_H_
29 #include <libopenraw/types.h>
30 #include <libopenraw/consts.h>
36 typedef struct _Thumbnail *ORThumbnailRef;
46 or_error or_get_extract_thumbnail(
const char* filename,
47 uint32_t preferred_size,
48 ORThumbnailRef *thumb);
53 or_thumbnail_new(
void);
58 or_thumbnail_release(ORThumbnailRef thumb);
63 or_thumbnail_format(ORThumbnailRef thumb);
66 or_thumbnail_data(ORThumbnailRef thumb);
69 or_thumbnail_data_size(ORThumbnailRef thumb);
72 or_thumbnail_dimensions(ORThumbnailRef thumb,
73 uint32_t *x, uint32_t *y);