From 028526f74d324aa0eeba37567d062fb16680b60e Mon Sep 17 00:00:00 2001 From: Brian Popow Date: Thu, 8 Sep 2022 17:17:50 +0200 Subject: [PATCH] Remove not used constants --- src/ImageSharp/Formats/Bmp/BmpInfoHeader.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/ImageSharp/Formats/Bmp/BmpInfoHeader.cs b/src/ImageSharp/Formats/Bmp/BmpInfoHeader.cs index 15b0297de..60aa6732c 100644 --- a/src/ImageSharp/Formats/Bmp/BmpInfoHeader.cs +++ b/src/ImageSharp/Formats/Bmp/BmpInfoHeader.cs @@ -66,16 +66,6 @@ namespace SixLabors.ImageSharp.Formats.Bmp /// public const int HeaderSizeSize = 4; - /// - /// Maximum dimensions of a bitmap with or height: 2**31 - 1, since width and height are int32 - /// - private const int MaximumBmpDimension = 2147483647; - - /// - /// Maximum size of a bitmap width * height: 2**32, since size is uint32. - /// - private const long MaximumBmpSize = 4294967296; - public BmpInfoHeader( int headerSize, int width,