From 4e7725786d6a650fdbad8eab7856c9061495ab52 Mon Sep 17 00:00:00 2001 From: Peter Amrehn Date: Mon, 14 Oct 2019 20:18:28 +0200 Subject: [PATCH] fix typo --- src/ImageSharp/Formats/WebP/WebPDecoderCore.cs | 4 ++-- src/ImageSharp/Formats/WebP/WebPImageInfo.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ImageSharp/Formats/WebP/WebPDecoderCore.cs b/src/ImageSharp/Formats/WebP/WebPDecoderCore.cs index 2cc8f592cd..d4d7503c59 100644 --- a/src/ImageSharp/Formats/WebP/WebPDecoderCore.cs +++ b/src/ImageSharp/Formats/WebP/WebPDecoderCore.cs @@ -72,7 +72,7 @@ namespace SixLabors.ImageSharp.Formats.WebP var image = new Image(this.configuration, imageInfo.Width, imageInfo.Height, this.metadata); Buffer2D 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 }; diff --git a/src/ImageSharp/Formats/WebP/WebPImageInfo.cs b/src/ImageSharp/Formats/WebP/WebPImageInfo.cs index bfa778810a..1cf98865c0 100644 --- a/src/ImageSharp/Formats/WebP/WebPImageInfo.cs +++ b/src/ImageSharp/Formats/WebP/WebPImageInfo.cs @@ -16,9 +16,9 @@ namespace SixLabors.ImageSharp.Formats.WebP public int Height { get; set; } /// - /// Gets or sets whether this image uses a looseless compression. + /// Gets or sets whether this image uses a lossless compression. /// - public bool IsLooseLess { get; set; } + public bool IsLossLess { get; set; } public int Version { get; set; }