mirror of
https://github.com/lovell/sharp.git
synced 2026-02-08 07:36:16 +01:00
Add isPalette and bitsPerSample metadata, deprecate paletteBitDepth
This commit is contained in:
@@ -24,7 +24,8 @@ struct MetadataBaton {
|
||||
int density;
|
||||
std::string chromaSubsampling;
|
||||
bool isProgressive;
|
||||
int paletteBitDepth;
|
||||
bool isPalette;
|
||||
int bitsPerSample;
|
||||
int pages;
|
||||
int pageHeight;
|
||||
int loop;
|
||||
@@ -59,7 +60,8 @@ struct MetadataBaton {
|
||||
channels(0),
|
||||
density(0),
|
||||
isProgressive(false),
|
||||
paletteBitDepth(0),
|
||||
isPalette(false),
|
||||
bitsPerSample(0),
|
||||
pages(0),
|
||||
pageHeight(0),
|
||||
loop(-1),
|
||||
|
||||
Reference in New Issue
Block a user