Skip to content

Commit

Permalink
Docs: update old links
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Aug 3, 2024
1 parent 94d721b commit c0eda8c
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 27 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `||`).
Expand Down
16 changes: 8 additions & 8 deletions CHANGELOG.native.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).
Expand Down Expand Up @@ -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)).
Expand All @@ -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)).
Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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)).
Expand Down Expand Up @@ -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)).
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ _disableFooter: true
<a class="changelog-link" href="../CHANGELOG.md">Changelog</a><span>|</span><a class="github-link" href="https://github.com/kleisauke/net-vips">View on Github</a>
</div>
<div class="minitext">
.NET binding for the <a href="https://libvips.github.io/libvips">libvips image processing library</a>.
.NET binding for the <a href="https://www.libvips.org/">libvips image processing library</a>.
</div>
<div class="buttons-unit">
<a href="introduction.md"><i class="glyphicon glyphicon-send"></i>Introduction</a>
Expand Down
8 changes: 4 additions & 4 deletions docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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),
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion samples/NetVips.Samples/Samples/EmbedMultiplyConv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions samples/NetVips.Samples/Samples/ShapeCropping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public string GetSvgShape(int width, int height, Shape shape, out int xMin, out
}

/// <summary>
/// Formula from http://mathworld.wolfram.com/HeartCurve.html
/// Formula from https://mathworld.wolfram.com/HeartCurve.html
/// </summary>
/// <param name="midX">Image width / 2</param>
/// <param name="midY">Image height / 2</param>
Expand Down Expand Up @@ -208,7 +208,7 @@ public string GetSvgHeart(double midX, double midY, out int xMin, out int yMin,
}

/// <summary>
/// Inspired by this JSFiddle: http://jsfiddle.net/tohan/8vwjn4cx/
/// Inspired by this JSFiddle: https://jsfiddle.net/tohan/8vwjn4cx/
/// modified to support SVG paths
/// </summary>
/// <param name="midX">Image width / 2</param>
Expand Down
2 changes: 1 addition & 1 deletion src/NetVips.Extensions/BitmapConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
7 changes: 3 additions & 4 deletions tests/NetVips.Benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c0eda8c

Please sign in to comment.