mirror of
https://github.com/lovell/sharp.git
synced 2026-02-06 22:56:16 +01:00
Expose delay/loop metadata for animated images #1905
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user