Browse Source

Remove some missed Serializable attributes

pull/2432/head
Brian Popow 3 years ago
parent
commit
81d47f4d50
  1. 3
      src/ImageSharp/Formats/Webp/Lossy/Vp8BandProbas.cs
  2. 6
      src/ImageSharp/Formats/Webp/Lossy/Vp8Residual.cs

3
src/ImageSharp/Formats/Webp/Lossy/Vp8BandProbas.cs

@ -1,14 +1,11 @@
// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using System.Text.Json.Serialization;
namespace SixLabors.ImageSharp.Formats.Webp.Lossy;
/// <summary>
/// All the probabilities associated to one band.
/// </summary>
[Serializable]
internal class Vp8BandProbas
{
/// <summary>

6
src/ImageSharp/Formats/Webp/Lossy/Vp8Residual.cs

@ -7,20 +7,14 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using System.Text.Json.Serialization;
namespace SixLabors.ImageSharp.Formats.Webp.Lossy;
/// <summary>
/// On-the-fly info about the current set of residuals.
/// </summary>
[Serializable]
internal class Vp8Residual
{
public Vp8Residual()
{
}
public int First { get; set; }
public int Last { get; set; }

Loading…
Cancel
Save