Browse Source

fix typo

pull/1147/head
Peter Amrehn 7 years ago
parent
commit
4e7725786d
  1. 4
      src/ImageSharp/Formats/WebP/WebPDecoderCore.cs
  2. 4
      src/ImageSharp/Formats/WebP/WebPImageInfo.cs

4
src/ImageSharp/Formats/WebP/WebPDecoderCore.cs

@ -72,7 +72,7 @@ namespace SixLabors.ImageSharp.Formats.WebP
var image = new Image<TPixel>(this.configuration, imageInfo.Width, imageInfo.Height, this.metadata);
Buffer2D<TPixel> pixels = image.GetRootFramePixelBuffer();
if (imageInfo.IsLooseLess)
if (imageInfo.IsLossLess)
{
ReadSimpleLossless(pixels, image.Width, image.Height);
}
@ -160,7 +160,7 @@ namespace SixLabors.ImageSharp.Formats.WebP
{
Width = width,
Height = height,
IsLooseLess = isLossLess,
IsLossLess = isLossLess,
Version = version,
DataSize = dataSize
};

4
src/ImageSharp/Formats/WebP/WebPImageInfo.cs

@ -16,9 +16,9 @@ namespace SixLabors.ImageSharp.Formats.WebP
public int Height { get; set; }
/// <summary>
/// Gets or sets whether this image uses a looseless compression.
/// Gets or sets whether this image uses a lossless compression.
/// </summary>
public bool IsLooseLess { get; set; }
public bool IsLossLess { get; set; }
public int Version { get; set; }

Loading…
Cancel
Save