mirror of
https://github.com/lovell/sharp.git
synced 2026-02-05 22:26:20 +01:00
Expose palette-bit-depth metadata, requires upcoming libvips v8.8.0
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user