Docs: add missing returns property to raw

This commit is contained in:
Lovell Fuller 2023-08-29 11:17:35 +01:00
parent 67e927bdb6
commit 7f64d464de
3 changed files with 3 additions and 2 deletions

View File

@ -583,7 +583,7 @@ Image metadata (EXIF, XMP) is unsupported.
## raw ## raw
> raw([options]) > raw([options])<code>Sharp</code>
Force output to be raw, uncompressed pixel data. Force output to be raw, uncompressed pixel data.
Pixel ordering is left-to-right, top-to-bottom, without padding. Pixel ordering is left-to-right, top-to-bottom, without padding.

File diff suppressed because one or more lines are too long

View File

@ -1046,6 +1046,7 @@ function jxl (options) {
* *
* @param {Object} [options] - output options * @param {Object} [options] - output options
* @param {string} [options.depth='uchar'] - bit depth, one of: char, uchar (default), short, ushort, int, uint, float, complex, double, dpcomplex * @param {string} [options.depth='uchar'] - bit depth, one of: char, uchar (default), short, ushort, int, uint, float, complex, double, dpcomplex
* @returns {Sharp}
* @throws {Error} Invalid options * @throws {Error} Invalid options
*/ */
function raw (options) { function raw (options) {