diff --git a/docs/api-input.md b/docs/api-input.md index e87756ae..94babf0e 100644 --- a/docs/api-input.md +++ b/docs/api-input.md @@ -88,9 +88,9 @@ image Returns **[Promise][5]<[Object][6]>** -[1]: https://github.com/libvips/libvips/blob/master/libvips/iofuncs/enumtypes.c#L636 +[1]: https://libvips.github.io/libvips/API/current/VipsImage.html#VipsInterpretation -[2]: https://github.com/libvips/libvips/blob/master/libvips/iofuncs/enumtypes.c#L672 +[2]: https://libvips.github.io/libvips/API/current/VipsImage.html#VipsBandFormat [3]: https://www.npmjs.com/package/icc diff --git a/lib/input.js b/lib/input.js index fa83f1fb..951e1547 100644 --- a/lib/input.js +++ b/lib/input.js @@ -187,9 +187,9 @@ function _isStreamInput () { * - `size`: Total size of image in bytes, for Stream and Buffer input only * - `width`: Number of pixels wide (EXIF orientation is not taken into consideration) * - `height`: Number of pixels high (EXIF orientation is not taken into consideration) - * - `space`: Name of colour space interpretation e.g. `srgb`, `rgb`, `cmyk`, `lab`, `b-w` [...](https://github.com/libvips/libvips/blob/master/libvips/iofuncs/enumtypes.c#L636) + * - `space`: Name of colour space interpretation e.g. `srgb`, `rgb`, `cmyk`, `lab`, `b-w` [...](https://libvips.github.io/libvips/API/current/VipsImage.html#VipsInterpretation) * - `channels`: Number of bands e.g. `3` for sRGB, `4` for CMYK - * - `depth`: Name of pixel depth format e.g. `uchar`, `char`, `ushort`, `float` [...](https://github.com/libvips/libvips/blob/master/libvips/iofuncs/enumtypes.c#L672) + * - `depth`: Name of pixel depth format e.g. `uchar`, `char`, `ushort`, `float` [...](https://libvips.github.io/libvips/API/current/VipsImage.html#VipsBandFormat) * - `density`: Number of pixels per inch (DPI), if present * - `chromaSubsampling`: String containing JPEG chroma subsampling, `4:2:0` or `4:4:4` for RGB, `4:2:0:4` or `4:4:4:4` for CMYK * - `isProgressive`: Boolean indicating whether the image is interlaced using a progressive scan