diff --git a/PIL/BmpImagePlugin.py b/PIL/BmpImagePlugin.py index 30ca10971..793bd8edd 100644 --- a/PIL/BmpImagePlugin.py +++ b/PIL/BmpImagePlugin.py @@ -279,3 +279,5 @@ Image.register_open(BmpImageFile.format, BmpImageFile, _accept) Image.register_save(BmpImageFile.format, _save) Image.register_extension(BmpImageFile.format, ".bmp") + +Image.register_mime(BmpImageFile.format, "image/bmp")