Browse Source

Remove not used constants

pull/2192/head
Brian Popow 3 years ago
parent
commit
028526f74d
  1. 10
      src/ImageSharp/Formats/Bmp/BmpInfoHeader.cs

10
src/ImageSharp/Formats/Bmp/BmpInfoHeader.cs

@ -66,16 +66,6 @@ namespace SixLabors.ImageSharp.Formats.Bmp
/// </summary>
public const int HeaderSizeSize = 4;
/// <summary>
/// Maximum dimensions of a bitmap with or height: 2**31 - 1, since width and height are int32
/// </summary>
private const int MaximumBmpDimension = 2147483647;
/// <summary>
/// Maximum size of a bitmap width * height: 2**32, since size is uint32.
/// </summary>
private const long MaximumBmpSize = 4294967296;
public BmpInfoHeader(
int headerSize,
int width,

Loading…
Cancel
Save