Browse Source

fix typo in comment

af/merge-core
Peter Amrehn 7 years ago
committed by Unknown
parent
commit
b78d08065a
  1. 2
      src/ImageSharp/Formats/Png/Filters/PaethFilter.cs

2
src/ImageSharp/Formats/Png/Filters/PaethFilter.cs

@ -30,7 +30,7 @@ namespace SixLabors.ImageSharp.Formats.Png.Filters
ref byte prevBaseRef = ref MemoryMarshal.GetReference(previousScanline);
// Paeth(x) + PaethPredictor(Raw(x-bpp), Prior(x), Prior(x-bpp))
int offset = bytesPerPixel + 1; // Add one bcause x starts at one.
int offset = bytesPerPixel + 1; // Add one because x starts at one.
int x = 1;
for (; x < offset; x++)
{

Loading…
Cancel
Save