We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d1a49 commit cd337e4Copy full SHA for cd337e4
docs/src/content/docs/api-channel.md
@@ -61,6 +61,8 @@ const rgba = await sharp(rgb)
61
62
Extract a single channel from a multi-channel image.
63
64
+The output colourspace will be either `b-w` (8-bit) or `grey16` (16-bit).
65
+
66
67
**Throws**:
68
lib/channel.js
@@ -74,6 +74,8 @@ function ensureAlpha (alpha) {
74
/**
75
* Extract a single channel from a multi-channel image.
76
*
77
+ * The output colourspace will be either `b-w` (8-bit) or `grey16` (16-bit).
78
+ *
79
* @example
80
* // green.jpg is a greyscale image containing the green channel of the input
81
* await sharp(input)
0 commit comments