mirror of
https://github.com/lovell/sharp.git
synced 2026-02-06 06:36:17 +01:00
Expose pages metadata for multi-page input images #1205
This commit is contained in:
@@ -34,6 +34,8 @@ struct MetadataBaton {
|
||||
std::string chromaSubsampling;
|
||||
bool isProgressive;
|
||||
int paletteBitDepth;
|
||||
int pages;
|
||||
int pageHeight;
|
||||
bool hasProfile;
|
||||
bool hasAlpha;
|
||||
int orientation;
|
||||
@@ -55,6 +57,8 @@ struct MetadataBaton {
|
||||
density(0),
|
||||
isProgressive(false),
|
||||
paletteBitDepth(0),
|
||||
pages(0),
|
||||
pageHeight(0),
|
||||
hasProfile(false),
|
||||
hasAlpha(false),
|
||||
orientation(0),
|
||||
|
||||
Reference in New Issue
Block a user