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