diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/share/grabbag/picture.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/share/grabbag/picture.h b/include/share/grabbag/picture.h index a8322124..bae6536a 100644 --- a/include/share/grabbag/picture.h +++ b/include/share/grabbag/picture.h @@ -40,6 +40,13 @@ extern "C" { */ FLAC__StreamMetadata *grabbag__picture_parse_specification(const char *spec, const char **error_message); +typedef struct PictureResolution +{ uint32_t width, height, depth, colors ; +} PictureResolution ; + +FLAC__StreamMetadata *grabbag__picture_from_specification(int type, const char *mime_type, const char * description, + const PictureResolution * res, const char * filepath, const char **error_message); + #ifdef __cplusplus } #endif |