Expose palette-bit-depth metadata, requires upcoming libvips v8.8.0

This commit is contained in:
Lovell Fuller
2019-01-01 21:01:51 +00:00
parent 30ca424942
commit cc1d4c1a6d
2 changed files with 8 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ struct MetadataBaton {
int density;
std::string chromaSubsampling;
bool isProgressive;
int paletteBitDepth;
bool hasProfile;
bool hasAlpha;
int orientation;
@@ -53,6 +54,7 @@ struct MetadataBaton {
channels(0),
density(0),
isProgressive(false),
paletteBitDepth(0),
hasProfile(false),
hasAlpha(false),
orientation(0),