mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add premultiplied option to composite operation (#1835)
This commit is contained in:
@@ -41,6 +41,7 @@ struct Composite {
|
||||
int left;
|
||||
int top;
|
||||
bool tile;
|
||||
bool premultiplied;
|
||||
|
||||
Composite():
|
||||
input(nullptr),
|
||||
@@ -48,7 +49,8 @@ struct Composite {
|
||||
gravity(0),
|
||||
left(-1),
|
||||
top(-1),
|
||||
tile(false) {}
|
||||
tile(false),
|
||||
premultiplied(false) {}
|
||||
};
|
||||
|
||||
struct PipelineBaton {
|
||||
|
||||
Reference in New Issue
Block a user