mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Docs: correct syntax in sharpen example (#3310)
This commit is contained in:
parent
dd56a9699e
commit
9a0d9eed74
@ -170,7 +170,7 @@ const data = await sharp(input).sharpen({ sigma: 2 }).toBuffer();
|
||||
const data = await sharp(input)
|
||||
.sharpen({
|
||||
sigma: 2,
|
||||
m1: 0
|
||||
m1: 0,
|
||||
m2: 3,
|
||||
x1: 3,
|
||||
y2: 15,
|
||||
|
@ -205,7 +205,7 @@ function affine (matrix, options) {
|
||||
* const data = await sharp(input)
|
||||
* .sharpen({
|
||||
* sigma: 2,
|
||||
* m1: 0
|
||||
* m1: 0,
|
||||
* m2: 3,
|
||||
* x1: 3,
|
||||
* y2: 15,
|
||||
|
Loading…
x
Reference in New Issue
Block a user