Expose delay/loop metadata for animated images #1905

This commit is contained in:
Lovell Fuller
2020-01-09 22:51:08 +00:00
parent 057074b238
commit 4a745f2d2e
6 changed files with 73 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ struct MetadataBaton {
int paletteBitDepth;
int pages;
int pageHeight;
int loop;
std::vector<int> delay;
int pagePrimary;
bool hasProfile;
bool hasAlpha;
@@ -62,6 +64,7 @@ struct MetadataBaton {
paletteBitDepth(0),
pages(0),
pageHeight(0),
loop(-1),
pagePrimary(-1),
hasProfile(false),
hasAlpha(false),