From 8520b07418a08b76ad0646ab5d2ecd5ab8aeb75d Mon Sep 17 00:00:00 2001 From: Brian Popow Date: Thu, 21 Oct 2021 15:32:20 +0200 Subject: [PATCH] Make WebpFormatType nullable --- src/ImageSharp/Formats/Webp/WebpMetadata.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageSharp/Formats/Webp/WebpMetadata.cs b/src/ImageSharp/Formats/Webp/WebpMetadata.cs index 001ff1fbb..6c44688b2 100644 --- a/src/ImageSharp/Formats/Webp/WebpMetadata.cs +++ b/src/ImageSharp/Formats/Webp/WebpMetadata.cs @@ -24,7 +24,7 @@ namespace SixLabors.ImageSharp.Formats.Webp /// /// Gets or sets the webp format used. Either lossless or lossy. /// - public WebpFormatType Format { get; set; } + public WebpFormatType? Format { get; set; } /// public IDeepCloneable DeepClone() => new WebpMetadata(this);