diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ccec56e..c8c774e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -110,7 +110,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [1.2.0] - 2020-01-30 ### Added - Add support for true streaming ([#33](https://github.com/kleisauke/net-vips/issues/33)). - - See the [blogpost](https://libvips.github.io/libvips/2019/11/29/True-streaming-for-libvips.html) and the [tutorial](https://kleisauke.github.io/net-vips/introduction.html#custom-sources-and-targets) for more information. + - See the [blogpost](https://www.libvips.org/2019/11/29/True-streaming-for-libvips.html) and the [tutorial](https://kleisauke.github.io/net-vips/introduction.html#custom-sources-and-targets) for more information. - A new [NetVips.Extensions](https://www.nuget.org/packages/NetVips.Extensions/) package containing useful helpers ([#41](https://github.com/kleisauke/net-vips/issues/41)). - Add `Image.Switch()`, `image.Case()` and `image.NewFromMemoryCopy()` operations. - Add support for the short-circuit operators (`&&` and `||`). diff --git a/CHANGELOG.native.md b/CHANGELOG.native.md index 6d791780..14b6a05e 100644 --- a/CHANGELOG.native.md +++ b/CHANGELOG.native.md @@ -17,7 +17,7 @@ https://github.com/libvips/libvips/releases/tag/v8.15.1 ## [8.15.0] - 2023-11-12 ### Note If you would like to see what's changed, please visit the release notes of libvips: -https://libvips.org/2023/10/10/What's-new-in-8.15.html +https://www.libvips.org/2023/10/10/What's-new-in-8.15.html ### Changed - Bump the minimum required glibc version to 2.26 ([lovell/sharp-libvips#197](https://github.com/lovell/sharp-libvips/pull/197)). @@ -45,7 +45,7 @@ https://github.com/libvips/libvips/releases/tag/v8.14.3 ## [8.14.2] - 2023-03-24 ### Note If you would like to see what's changed, please visit the release notes of libvips: -https://libvips.org/2022/12/22/What's-new-in-8.14.html +https://www.libvips.org/2022/12/22/What's-new-in-8.14.html ### Changed - Bump the minimum required macOS version to 10.13 (was 10.9) ([lovell/sharp-libvips#164](https://github.com/lovell/sharp-libvips/pull/164)). @@ -67,7 +67,7 @@ https://github.com/libvips/libvips/releases/tag/v8.13.1 ## [8.13.0] - 2022-07-25 ### Note If you would like to see what's changed, please visit the release notes of libvips: -https://libvips.org/2022/05/28/What's-new-in-8.13.html +https://www.libvips.org/2022/05/28/What's-new-in-8.13.html ### Added - Enable Arm Neon support in libwebp, if available ([lovell/sharp-libvips#135](https://github.com/lovell/sharp-libvips/pull/135)). @@ -89,7 +89,7 @@ https://github.com/libvips/libvips/releases/tag/v8.12.2 ## [8.12.1] - 2021-12-02 ### Note If you would like to see what's changed, please visit the release notes of libvips: -https://libvips.org/2021/11/14/What's-new-in-8.12.html +https://www.libvips.org/2021/11/14/What's-new-in-8.12.html ### Added - Include cgif as dependency. @@ -121,7 +121,7 @@ https://github.com/libvips/libvips/releases/tag/v8.11.3 ## [8.11.0] - 2021-06-23 ### Note If you would like to see what's changed, please visit the release notes of libvips: -https://libvips.org/2021/06/04/What's-new-in-8.11.html +https://www.libvips.org/2021/06/04/What's-new-in-8.11.html ### Changed - Build Linux ARM64v8 and ARMv7 binaries with GCC 11.1. @@ -166,7 +166,7 @@ https://github.com/libvips/libvips/releases/tag/v8.10.1 ## [8.10.0] - 2020-08-26 ### Note If you would like to see what's changed, please visit the release notes of libvips: -https://libvips.org/2020/06/18/What's-new-in-8.10.html +https://www.libvips.org/2020/06/18/What's-new-in-8.10.html ### Fixed - Compatibility with Unity on Linux ([#90](https://github.com/kleisauke/net-vips/issues/90)). @@ -204,7 +204,7 @@ https://github.com/libvips/libvips/releases/tag/v8.9.1 ## [8.9.0] - 2020-01-30 ### Note If you would like to see what's changed, please visit the release notes of libvips: -https://libvips.org/2019/12/11/What's-new-in-8.9.html +https://www.libvips.org/2019/12/11/What's-new-in-8.9.html ### Changed - A statically linked libvips binary is build for Linux ([#51](https://github.com/kleisauke/net-vips/issues/51)). @@ -235,7 +235,7 @@ https://github.com/libvips/libvips/releases/tag/v8.8.1 ## [8.8.0] - 2019-06-22 ### Note If you would like to see what's changed, please visit the release notes of libvips: -https://libvips.org/2019/04/22/What's-new-in-8.8.html +https://www.libvips.org/2019/04/22/What's-new-in-8.8.html ## [8.7.4] - 2019-04-10 ### Added diff --git a/README.md b/README.md index 240f2f2c..1399deed 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![CI status (Linux ARM64v8)](https://circleci.com/gh/kleisauke/net-vips.svg?style=shield)](https://circleci.com/gh/kleisauke/net-vips) [![CI status (NetVips nightly packaging)](https://ci.appveyor.com/api/projects/status/d2r9uanb5yij07pt/branch/master?svg=true)](https://ci.appveyor.com/project/kleisauke/net-vips/branch/master) -This NuGet package provides a .NET binding for the [libvips image processing library](https://libvips.github.io/libvips). +This NuGet package provides a .NET binding for the [libvips image processing library](https://www.libvips.org/). This binding passes the vips test suite cleanly with no leaks on Windows, macOS and Linux. @@ -29,9 +29,9 @@ keep entire images in memory, it's light. For example, the `NetVips` benchmark: Loads a large image, shrinks by 10%, sharpens, and saves again. On this test `NetVips` is around 20 times faster than Magick.NET and 3 times faster than ImageSharp. -The [libvips documentation](https://libvips.github.io/libvips/API/current) -has a [chapter explaining how libvips opens -files](https://libvips.github.io/libvips/API/current/How-it-opens-files.md.html) +The [libvips documentation](https://www.libvips.org/API/current/) +has a [chapter explaining how libvips opens files]( +https://www.libvips.org/API/current/How-it-opens-files.html) which gives some more background. ## Supported platforms @@ -127,7 +127,7 @@ using var im = Image.NewFromFile("image.jpg"); // put im at position (100, 100) in a 3000 x 3000 pixel image, // make the other pixels in the image by mirroring im up / down / // left / right, see -// https://libvips.github.io/libvips/API/current/libvips-conversion.html#vips-embed +// https://www.libvips.org/API/current/libvips-conversion.html#vips-embed using var embed = im.Embed(100, 100, 3000, 3000, extend: Enums.Extend.Mirror); // multiply the green (middle) band by 2, leave the other two alone diff --git a/docs/index.md b/docs/index.md index 2a563bb4..5ad16553 100644 --- a/docs/index.md +++ b/docs/index.md @@ -17,7 +17,7 @@ _disableFooter: true Changelog|View on Github
- .NET binding for the libvips image processing library. + .NET binding for the libvips image processing library.
Introduction diff --git a/docs/introduction.md b/docs/introduction.md index c5d6d14b..823e12de 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -9,7 +9,7 @@ Introduction See the main libvips site for an introduction to the underlying library. These notes introduce the .NET binding. -https://libvips.github.io/libvips +https://www.libvips.org/ ## Example @@ -87,7 +87,7 @@ using var convolve = multiply.Conv(mask, precision: Enums.Precision.Integer); [`NewFromArray`](xref:NetVips.Image.NewFromArray*) creates an image from an array constant. The scale is the amount to divide the image by after integer convolution. -See the libvips API docs for [`vips_conv()`](http://libvips.github.io/libvips/API/current/libvips-convolution.html#vips-conv) +See the libvips API docs for [`vips_conv()`](https://www.libvips.org/API/current/libvips-convolution.html#vips-conv) (the operation invoked by [`Conv`](xref:NetVips.Image.Conv*)) for details on the convolution operator. By default, it computes with a float mask, but `integer` is fine for this case, and is much faster. @@ -156,7 +156,7 @@ or to create a new field with a specified type. All libvips operations were generated automatically to a PascalCase method in NetVips. For example, the libvips operation `add`, which appears in C as -[`vips_add()`](http://libvips.github.io/libvips/API/current/libvips-arithmetic.html#vips-add), +[`vips_add()`](https://www.libvips.org/API/current/libvips-arithmetic.html#vips-add), appears in C# as [`Add`](xref:NetVips.Image.Add*) method. By taking advantage of nullable types (which allows you to omit any parameters in any position), @@ -450,7 +450,7 @@ It examines libvips and writes the XML documentation and the corresponding code Use the C API docs for more detail: -https://libvips.github.io/libvips/API/current +https://www.libvips.org/API/current/ ## Draw operations diff --git a/samples/NetVips.Samples/Samples/EmbedMultiplyConv.cs b/samples/NetVips.Samples/Samples/EmbedMultiplyConv.cs index c308005a..f5bd24ff 100644 --- a/samples/NetVips.Samples/Samples/EmbedMultiplyConv.cs +++ b/samples/NetVips.Samples/Samples/EmbedMultiplyConv.cs @@ -19,7 +19,7 @@ public void Execute(string[] args) // put im at position (100, 100) in a 3000 x 3000 pixel image, // make the other pixels in the image by mirroring im up / down / // left / right, see - // https://libvips.github.io/libvips/API/current/libvips-conversion.html#vips-embed + // https://www.libvips.org/API/current/libvips-conversion.html#vips-embed using var embed = im.Embed(100, 100, 3000, 3000, extend: Enums.Extend.Mirror); // multiply the green (middle) band by 2, leave the other two alone diff --git a/samples/NetVips.Samples/Samples/ShapeCropping.cs b/samples/NetVips.Samples/Samples/ShapeCropping.cs index 2ae8db3d..02b074f8 100644 --- a/samples/NetVips.Samples/Samples/ShapeCropping.cs +++ b/samples/NetVips.Samples/Samples/ShapeCropping.cs @@ -171,7 +171,7 @@ public string GetSvgShape(int width, int height, Shape shape, out int xMin, out } /// - /// Formula from http://mathworld.wolfram.com/HeartCurve.html + /// Formula from https://mathworld.wolfram.com/HeartCurve.html /// /// Image width / 2 /// Image height / 2 @@ -208,7 +208,7 @@ public string GetSvgHeart(double midX, double midY, out int xMin, out int yMin, } /// - /// Inspired by this JSFiddle: http://jsfiddle.net/tohan/8vwjn4cx/ + /// Inspired by this JSFiddle: https://jsfiddle.net/tohan/8vwjn4cx/ /// modified to support SVG paths /// /// Image width / 2 diff --git a/src/NetVips.Extensions/BitmapConverter.cs b/src/NetVips.Extensions/BitmapConverter.cs index 48546d2f..df498277 100644 --- a/src/NetVips.Extensions/BitmapConverter.cs +++ b/src/NetVips.Extensions/BitmapConverter.cs @@ -300,7 +300,7 @@ public static Bitmap ToBitmap(this Image src) break; case 2 when src.Interpretation == Enums.Interpretation.Grey16: // Convert to sRGB, since Format16bppGrayScale appears to be unsupported by GDI+. - // See: https://stackoverflow.com/a/19706842/10952119 + // See: https://stackoverflow.com/a/19706842 src = src.Colourspace(Enums.Interpretation.Srgb); goto case 4; diff --git a/tests/NetVips.Benchmarks/README.md b/tests/NetVips.Benchmarks/README.md index 3a00eba9..bee0a2ba 100644 --- a/tests/NetVips.Benchmarks/README.md +++ b/tests/NetVips.Benchmarks/README.md @@ -50,10 +50,9 @@ See "Do it yourself" section for how to run benchmark scenario. ## Scenario -Test scenario was taken from [Speed and Memory -use](https://github.com/libvips/libvips/wiki/Speed-and-memory-use) -page from libvips [Home -page](https://libvips.github.io/libvips/). +Test scenario was taken from [Speed and Memory use]( +https://github.com/libvips/libvips/wiki/Speed-and-memory-use) +page from libvips [Home page](https://www.libvips.org/). ## Do it yourself