Browse Source

Append BMP's MIME Type

Signed-off-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
pull/2579/head
舰队的偶像-岛风酱! 2 years ago
parent
commit
520ff46baa
No known key found for this signature in database GPG Key ID: 71F5B3A2B181950C
  1. 7
      src/ImageSharp/Formats/Bmp/BmpConstants.cs

7
src/ImageSharp/Formats/Bmp/BmpConstants.cs

@ -11,7 +11,12 @@ internal static class BmpConstants
/// <summary>
/// The list of mimetypes that equate to a bmp.
/// </summary>
public static readonly IEnumerable<string> MimeTypes = new[] { "image/bmp", "image/x-windows-bmp" };
public static readonly IEnumerable<string> MimeTypes = new[]
{
"image/bmp",
"image/x-windows-bmp",
"image/x-win-bitmap"
};
/// <summary>
/// The list of file extensions that equate to a bmp.

Loading…
Cancel
Save