mirror of
https://github.com/lovell/sharp.git
synced 2026-02-06 22:56:16 +01:00
Add WebP 'exact' option for control over transparent pixels
This commit is contained in:
@@ -168,6 +168,7 @@ struct PipelineBaton {
|
||||
int webpEffort;
|
||||
bool webpMinSize;
|
||||
bool webpMixed;
|
||||
bool webpExact;
|
||||
int gifBitdepth;
|
||||
int gifEffort;
|
||||
double gifDither;
|
||||
@@ -347,6 +348,7 @@ struct PipelineBaton {
|
||||
webpEffort(4),
|
||||
webpMinSize(false),
|
||||
webpMixed(false),
|
||||
webpExact(false),
|
||||
gifBitdepth(8),
|
||||
gifEffort(7),
|
||||
gifDither(1.0),
|
||||
|
||||
Reference in New Issue
Block a user