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,