Browse Source

Merge branch 'main' into sn/xunitv3

pull/3175/head
James Jackson-South 2 weeks ago
committed by GitHub
parent
commit
3c6a360226
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      README.md
  2. 6
      src/ImageSharp/Formats/Tiff/README.md
  3. 12
      src/ImageSharp/Processing/Processors/Transforms/Resamplers/CubicResampler.cs
  4. 2
      src/ImageSharp/Processing/Processors/Transforms/Resamplers/WelchResampler.cs
  5. 2
      tests/ImageSharp.Tests/ColorProfiles/RgbAndHslConversionTest.cs

2
README.md

@ -36,7 +36,7 @@ Support the efforts of the development of the Six Labors projects.
## Documentation
- [Detailed documentation](https://sixlabors.github.io/docs/) for the ImageSharp API is available. This includes additional conceptual documentation to help you get started.
- Our [Samples Repository](https://github.com/SixLabors/Samples/tree/main/ImageSharp) is also available containing buildable code samples demonstrating common activities.
- Our [Samples Repository](https://github.com/SixLabors/Samples/tree/main/SixLabors.Samples.ImageSharp) is also available containing buildable code samples demonstrating common activities.
## Questions

6
src/ImageSharp/Formats/Tiff/README.md

@ -2,9 +2,9 @@
## References
- TIFF
- [TIFF 6.0 Specification](http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf),(http://www.npes.org/pdf/TIFF-v6.pdf)
- [TIFF Supplement 1](http://partners.adobe.com/public/developer/en/tiff/TIFFPM6.pdf)
- [TIFF Supplement 2](http://partners.adobe.com/public/developer/en/tiff/TIFFphotoshop.pdf)
- [TIFF 6.0 Specification](https://download.osgeo.org/libtiff/doc/TIFF6.pdf)
- [TIFF Supplement 1](https://download.osgeo.org/libtiff/doc/TIFFPM6.pdf)
- [TIFF Supplement 2](https://download.osgeo.org/libtiff/doc/TIFFphotoshop.pdf)
- [TIFF Supplement 3](http://chriscox.org/TIFFTN3d1.pdf)
- [TIFF-F/FX Extension (RFC2301)](http://www.ietf.org/rfc/rfc2301.txt)
- [TIFF/EP Extension (Wikipedia)](https://en.wikipedia.org/wiki/TIFF/EP)

12
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,23 +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"/>
/// </summary>
/// <summary>
/// The function implements the Robidoux Sharp algorithm.
/// <see href="http://www.imagemagick.org/Usage/filter/#robidoux"/>
/// <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
{

2
tests/ImageSharp.Tests/ColorProfiles/RgbAndHslConversionTest.cs

@ -11,7 +11,7 @@ namespace SixLabors.ImageSharp.Tests.ColorProfiles;
/// <remarks>
/// Test data generated using:
/// <see href="http://www.colorhexa.com"/>
/// <see href="http://www.rapidtables.com/convert/color/hsl-to-rgb"/>
/// <see href="https://www.rapidtables.com/convert/color/hsl-to-rgb.html"/>
/// </remarks>
[Trait("Color", "Conversion")]
public class RgbAndHslConversionTest

Loading…
Cancel
Save