Expose pages metadata for multi-page input images #1205

This commit is contained in:
Lovell Fuller
2019-01-01 22:10:27 +00:00
parent cc1d4c1a6d
commit cc633589d9
4 changed files with 43 additions and 0 deletions

View File

@@ -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),