mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 15:25:07 +01:00
Docs: correct flatten example to use object instead of string (#2654)
This commit is contained in:
@@ -272,7 +272,7 @@ function blur (sigma) {
|
||||
*
|
||||
* @example
|
||||
* await sharp(rgbaInput)
|
||||
* .flatten('#F0A703')
|
||||
* .flatten({background: '#F0A703' })
|
||||
* .toBuffer();
|
||||
*
|
||||
* @param {Object} [options]
|
||||
|
||||
Reference in New Issue
Block a user