Browse Source

Merge pull request #3171 from FirmaSpring/docs/fix-imagemagick-usage-links

docs: update ImageMagick Usage filter links in resamplers
pull/3177/head
James Jackson-South 2 weeks ago
committed by GitHub
parent
commit
e53da707ae
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      src/ImageSharp/Processing/Processors/Transforms/Resamplers/CubicResampler.cs
  2. 2
      src/ImageSharp/Processing/Processors/Transforms/Resamplers/WelchResampler.cs

8
src/ImageSharp/Processing/Processors/Transforms/Resamplers/CubicResampler.cs

@ -10,7 +10,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Transforms;
/// Cubic filters contain a collection of different filters of varying B-Spline and
/// Cardinal values. With these two values you can generate any smoothly fitting
/// (continuious first derivative) piece-wise cubic filter.
/// <see href="http://www.imagemagick.org/Usage/filter/#cubic_bc"/>
/// <see href="https://usage.imagemagick.org/filter/#cubic_bc"/>
/// <see href="https://www.cs.utexas.edu/~fussell/courses/cs384g-fall2013/lectures/mitchell/Mitchell.pdf"/>
/// </summary>
public readonly struct CubicResampler : IResampler
@ -39,19 +39,19 @@ public readonly struct CubicResampler : IResampler
/// <summary>
/// The function implements the Robidoux algorithm.
/// <see href="http://www.imagemagick.org/Usage/filter/#robidoux"/>
/// <see href="https://usage.imagemagick.org/filter/#robidoux"/>
/// </summary>
public static readonly CubicResampler Robidoux = new(2, .37821575509399867F, .31089212245300067F);
/// <summary>
/// The function implements the Robidoux Sharp algorithm.
/// <see href="http://www.imagemagick.org/Usage/filter/#robidoux"/>
/// <see href="https://usage.imagemagick.org/filter/#robidoux"/>
/// </summary>
public static readonly CubicResampler RobidouxSharp = new(2, .2620145123990142F, .3689927438004929F);
/// <summary>
/// The function implements the spline algorithm.
/// <see href="http://www.imagemagick.org/Usage/filter/#cubic_bc"/>
/// <see href="https://usage.imagemagick.org/filter/#cubic_bc"/>
/// </summary>
public static readonly CubicResampler Spline = new(2, 1, 0);

2
src/ImageSharp/Processing/Processors/Transforms/Resamplers/WelchResampler.cs

@ -8,7 +8,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Transforms;
/// <summary>
/// The function implements the welch algorithm.
/// <see href="http://www.imagemagick.org/Usage/filter/"/>
/// <see href="https://usage.imagemagick.org/filter/"/>
/// </summary>
public readonly struct WelchResampler : IResampler
{

Loading…
Cancel
Save