aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2020-07-31 22:02:16 +0200
committerErwin de Haan <EraYaN@users.noreply.github.com>2020-07-31 22:02:16 +0200
commit526eea41f0b74c5717575887839ecc41ca22067f (patch)
tree5e9f5462d6438ebda19d70c5a061df11488ca392
parentaf38e5469f30b1b08e341fa00a7a7eea53388b8a (diff)
Add a note on the convolutional matrix filter.
-rw-r--r--Jellyfin.Drawing.Skia/SkiaEncoder.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Jellyfin.Drawing.Skia/SkiaEncoder.cs b/Jellyfin.Drawing.Skia/SkiaEncoder.cs
index 4e08758f6..58d303955 100644
--- a/Jellyfin.Drawing.Skia/SkiaEncoder.cs
+++ b/Jellyfin.Drawing.Skia/SkiaEncoder.cs
@@ -397,6 +397,9 @@ namespace Jellyfin.Drawing.Skia
/// <summary>
/// Resizes an image on the CPU, by utilizing a surface and canvas.
+ ///
+ /// The convolutional matrix kernel used in this resize function gives a (light) sharpening effect.
+ /// This technique is similar to effect that can be created using for example the [Convolution matrix filter in GIMP](https://docs.gimp.org/2.10/en/gimp-filter-convolution-matrix.html).
/// </summary>
/// <param name="source">The source bitmap.</param>
/// <param name="targetInfo">This specifies the target size and other information required to create the surface.</param>