mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 15:25:07 +01:00
Fix tint op by ensuring LAB and allowing negative values #1235
Add test cases for more tint colours and input interpretations
This commit is contained in:
@@ -152,8 +152,8 @@ const Sharp = function (input, options) {
|
||||
fastShrinkOnLoad: true,
|
||||
// operations
|
||||
background: [0, 0, 0, 255],
|
||||
tintA: 0,
|
||||
tintB: 0,
|
||||
tintA: 128,
|
||||
tintB: 128,
|
||||
flatten: false,
|
||||
negate: false,
|
||||
medianSize: 0,
|
||||
|
||||
Reference in New Issue
Block a user