removing dib extension

This commit is contained in:
pirate486743186 2019-03-04 15:05:14 +01:00
parent 44659faaed
commit 1d63703c54

View File

@ -349,6 +349,6 @@ def _save(im, fp, filename):
Image.register_open(BmpImageFile.format, BmpImageFile, _accept) Image.register_open(BmpImageFile.format, BmpImageFile, _accept)
Image.register_save(BmpImageFile.format, _save) Image.register_save(BmpImageFile.format, _save)
Image.register_extensions(BmpImageFile.format, [".bmp", ".dib"]) Image.register_extension(BmpImageFile.format, ".bmp")
Image.register_mime(BmpImageFile.format, "image/bmp") Image.register_mime(BmpImageFile.format, "image/bmp")