mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add support to recomb operation for 4x4 matrices
This commit is contained in:
@@ -295,6 +295,13 @@ sharp('input.gif')
|
||||
[0.2392, 0.4696, 0.0912],
|
||||
])
|
||||
|
||||
.recomb([
|
||||
[1,0,0,0],
|
||||
[0,1,0,0],
|
||||
[0,0,1,0],
|
||||
[0,0,0,1],
|
||||
])
|
||||
|
||||
.modulate({ brightness: 2 })
|
||||
.modulate({ hue: 180 })
|
||||
.modulate({ lightness: 10 })
|
||||
|
||||
Reference in New Issue
Block a user