docs: change 'colourspace' to 'toColourspace' (#2174)

This commit is contained in:
Floris de Bijl
2020-04-21 10:44:22 +02:00
committed by GitHub
parent 70e730bb67
commit 786c5330e9
2 changed files with 2 additions and 2 deletions

View File

@@ -532,7 +532,7 @@ function heif (options) {
* const data = await sharp('input.png')
* .ensureAlpha()
* .extractChannel(3)
* .colourspace('b-w')
* .toColourspace('b-w')
* .raw()
* .toBuffer();
*