diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index f80a68269..011ae1abf 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -16,7 +16,7 @@ If a [similar request](https://github.com/lovell/sharp/labels/enhancement) exist it's probably fastest to add a comment to it about your requirement. Implementation is usually straightforward if libvips -[already supports](https://libvips.github.io/libvips/API/current/func-list.html) +[already supports](https://www.libvips.org/API/current/func-list.html) the feature you need. ## Submit a Pull Request to fix a bug diff --git a/docs/api-composite.md b/docs/api-composite.md index 93b5678e4..12cc100ba 100644 --- a/docs/api-composite.md +++ b/docs/api-composite.md @@ -14,7 +14,7 @@ The `blend` option can be one of `clear`, `source`, `over`, `in`, `out`, `atop`, `hard-light`, `soft-light`, `difference`, `exclusion`. More information about blend modes can be found at -[https://libvips.github.io/libvips/API/current/libvips-conversion.html#VipsBlendMode][1] +[https://www.libvips.org/API/current/libvips-conversion.html#VipsBlendMode][1] and [https://www.cairographics.org/operators/][2] ### Parameters @@ -89,7 +89,7 @@ Returns **Sharp** * **since**: 0.22.0 -[1]: https://libvips.github.io/libvips/API/current/libvips-conversion.html#VipsBlendMode +[1]: https://www.libvips.org/API/current/libvips-conversion.html#VipsBlendMode [2]: https://www.cairographics.org/operators/ diff --git a/docs/api-input.md b/docs/api-input.md index 60ef69d90..55f841ed8 100644 --- a/docs/api-input.md +++ b/docs/api-input.md @@ -131,9 +131,9 @@ const stats = await sharp(part).stats(); Returns **[Promise][5]<[Object][6]>** -[1]: https://libvips.github.io/libvips/API/current/VipsImage.html#VipsInterpretation +[1]: https://www.libvips.org/API/current/VipsImage.html#VipsInterpretation -[2]: https://libvips.github.io/libvips/API/current/VipsImage.html#VipsBandFormat +[2]: https://www.libvips.org/API/current/VipsImage.html#VipsBandFormat [3]: https://www.npmjs.com/package/icc diff --git a/docs/install.md b/docs/install.md index 2b07ab358..4ae148a66 100644 --- a/docs/install.md +++ b/docs/install.md @@ -104,8 +104,8 @@ To use a custom, globally-installed version of libvips instead of the provided b make sure it is at least the version listed under `config.libvips` in the `package.json` file and that it can be located using `pkg-config --modversion vips-cpp`. -For help compiling libvips from source, please see -[https://libvips.github.io/libvips/install.html#building-libvips-from-a-source-tarball](https://libvips.github.io/libvips/install.html#building-libvips-from-a-source-tarball). +For help compiling libvips and its dependencies, please see +[building libvips from source](https://www.libvips.org/install.html#building-libvips-from-source). The use of a globally-installed libvips is unsupported on Windows. diff --git a/lib/composite.js b/lib/composite.js index 7b2c75881..b6b576bc6 100644 --- a/lib/composite.js +++ b/lib/composite.js @@ -50,7 +50,7 @@ const blend = { * `hard-light`, `soft-light`, `difference`, `exclusion`. * * More information about blend modes can be found at - * https://libvips.github.io/libvips/API/current/libvips-conversion.html#VipsBlendMode + * https://www.libvips.org/API/current/libvips-conversion.html#VipsBlendMode * and https://www.cairographics.org/operators/ * * @since 0.22.0 diff --git a/lib/input.js b/lib/input.js index 9fb54f0c4..04aa42f39 100644 --- a/lib/input.js +++ b/lib/input.js @@ -309,9 +309,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, see example below) * - `height`: Number of pixels high (EXIF orientation is not taken into consideration, see example below) - * - `space`: Name of colour space interpretation e.g. `srgb`, `rgb`, `cmyk`, `lab`, `b-w` [...](https://libvips.github.io/libvips/API/current/VipsImage.html#VipsInterpretation) + * - `space`: Name of colour space interpretation e.g. `srgb`, `rgb`, `cmyk`, `lab`, `b-w` [...](https://www.libvips.org/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://libvips.github.io/libvips/API/current/VipsImage.html#VipsBandFormat) + * - `depth`: Name of pixel depth format e.g. `uchar`, `char`, `ushort`, `float` [...](https://www.libvips.org/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