mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Register MIME type for BMP
This commit is contained in:
parent
d708fd190b
commit
fe18b039ca
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user