diff --git a/src/ImageSharp/Processing/Extensions/LightnessExtension.cs b/src/ImageSharp/Processing/Extensions/LightnessExtension.cs index 688c6cd3c3..cbe4a8d789 100644 --- a/src/ImageSharp/Processing/Extensions/LightnessExtension.cs +++ b/src/ImageSharp/Processing/Extensions/LightnessExtension.cs @@ -6,7 +6,7 @@ using SixLabors.Primitives; namespace SixLabors.ImageSharp.Processing { /// - /// Defines extensions that allow to change image lightness in terms of HSL. + /// Defines extensions that allow to change image lightness. /// public static class LightnessExtension { @@ -14,7 +14,7 @@ namespace SixLabors.ImageSharp.Processing /// Alters the lightness parameter of the image. /// /// The image this method extends. - /// Lightness parameter of image in HSL color scheme. + /// Lightness parameter of image. /// The to allow chaining of operations. public static IImageProcessingContext Lightness(this IImageProcessingContext source, float lightness) => source.ApplyProcessor(new LightnessProcessor(lightness)); @@ -23,7 +23,7 @@ namespace SixLabors.ImageSharp.Processing /// Alters the lightness parameter of the image. /// /// The image this method extends. - /// Lightness parameter of image in HSL color scheme. + /// Lightness parameter of image. /// /// The structure that specifies the portion of the image object to alter. /// diff --git a/src/ImageSharp/Processing/Processors/Filters/LightnessProcessor.cs b/src/ImageSharp/Processing/Processors/Filters/LightnessProcessor.cs index 35b76f5dea..4f3d332d42 100644 --- a/src/ImageSharp/Processing/Processors/Filters/LightnessProcessor.cs +++ b/src/ImageSharp/Processing/Processors/Filters/LightnessProcessor.cs @@ -11,7 +11,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Filters /// /// Initializes a new instance of the class. /// - /// Lightness of image in HSL color scheme + /// Lightness of image public LightnessProcessor(float lightness) : base(KnownFilterMatrices.CreateLightnessFilter(lightness)) { @@ -19,8 +19,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Filters } /// - /// Gets Lightness of image in HSL color scheme. - /// The "brightness relative to the brightness of a similarly illuminated white" https://en.wikipedia.org/wiki/HSL_and_HSV#Lightness + /// Gets Lightness of image. /// public float Lightness { get; } }