mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 15:25:07 +01:00
docs: change 'colourspace' to 'toColourspace' (#2174)
This commit is contained in:
@@ -532,7 +532,7 @@ function heif (options) {
|
||||
* const data = await sharp('input.png')
|
||||
* .ensureAlpha()
|
||||
* .extractChannel(3)
|
||||
* .colourspace('b-w')
|
||||
* .toColourspace('b-w')
|
||||
* .raw()
|
||||
* .toBuffer();
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user