From b28ca48f6c44e58ff35e1a9eef8efb025f6e8365 Mon Sep 17 00:00:00 2001 From: Peter Amrehn Date: Sat, 28 Mar 2020 21:04:20 +0100 Subject: [PATCH] improve comments --- src/ImageSharp/Formats/WebP/HTreeGroup.cs | 2 +- src/ImageSharp/Formats/WebP/LosslessUtils.cs | 2 +- src/ImageSharp/Formats/WebP/WebPMetadata.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ImageSharp/Formats/WebP/HTreeGroup.cs b/src/ImageSharp/Formats/WebP/HTreeGroup.cs index c311601bb5..42e0d9d936 100644 --- a/src/ImageSharp/Formats/WebP/HTreeGroup.cs +++ b/src/ImageSharp/Formats/WebP/HTreeGroup.cs @@ -26,7 +26,7 @@ namespace SixLabors.ImageSharp.Formats.WebP } /// - /// Gets the Huffman trees. This has a maximum of HuffmanCodesPerMetaCode (5) entry's. + /// Gets the Huffman trees. This has a maximum of (5) entry's. /// public List HTrees { get; } diff --git a/src/ImageSharp/Formats/WebP/LosslessUtils.cs b/src/ImageSharp/Formats/WebP/LosslessUtils.cs index 8ad2ef19dc..c8b4fcfed1 100644 --- a/src/ImageSharp/Formats/WebP/LosslessUtils.cs +++ b/src/ImageSharp/Formats/WebP/LosslessUtils.cs @@ -59,7 +59,7 @@ namespace SixLabors.ImageSharp.Formats.WebP { // We need to load fresh 'packed_pixels' once every // 'pixelsPerByte' increments of x. Fortunately, pixelsPerByte - // is a power of 2, so can just use a mask for that, instead of + // is a power of 2, so we can just use a mask for that, instead of // decrementing a counter. if ((x & countMask) is 0) { diff --git a/src/ImageSharp/Formats/WebP/WebPMetadata.cs b/src/ImageSharp/Formats/WebP/WebPMetadata.cs index 4788d2b0bd..66deea2555 100644 --- a/src/ImageSharp/Formats/WebP/WebPMetadata.cs +++ b/src/ImageSharp/Formats/WebP/WebPMetadata.cs @@ -38,7 +38,7 @@ namespace SixLabors.ImageSharp.Formats.WebP public Queue ChunkTypes { get; set; } = new Queue(); /// - /// Gets or sets a value indicating whether the webp file contains a animation. + /// Gets or sets a value indicating whether the webp file contains an animation. /// public bool Animated { get; set; } = false;