Browse Source

Make WebpFormatType nullable

pull/1552/head
Brian Popow 4 years ago
parent
commit
8520b07418
  1. 2
      src/ImageSharp/Formats/Webp/WebpMetadata.cs

2
src/ImageSharp/Formats/Webp/WebpMetadata.cs

@ -24,7 +24,7 @@ namespace SixLabors.ImageSharp.Formats.Webp
/// <summary>
/// Gets or sets the webp format used. Either lossless or lossy.
/// </summary>
public WebpFormatType Format { get; set; }
public WebpFormatType? Format { get; set; }
/// <inheritdoc/>
public IDeepCloneable DeepClone() => new WebpMetadata(this);

Loading…
Cancel
Save