mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Docs: correct alpha attribute in extend background example (#675)
This commit is contained in:
parent
7e2eca3d1e
commit
971f567571
@ -186,7 +186,7 @@ const blur = function blur (sigma) {
|
||||
* // to the top, left and right edges and 20 to the bottom edge
|
||||
* sharp(input)
|
||||
* .resize(140)
|
||||
* .background({r: 0, g: 0, b: 0, a: 0})
|
||||
* .background({r: 0, g: 0, b: 0, alpha: 0})
|
||||
* .extend({top: 10, bottom: 20, left: 10, right: 10})
|
||||
* ...
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user