Add MIME type to PsdImagePlugin

Resolves #4787
This commit is contained in:
Sam Morgan 2020-07-15 15:31:43 -07:00 committed by Sam Morgan
parent 74c8072945
commit e30836be5c

View File

@ -307,3 +307,5 @@ def _maketile(file, mode, bbox, channels):
Image.register_open(PsdImageFile.format, PsdImageFile, _accept)
Image.register_extension(PsdImageFile.format, ".psd")
Image.register_mime(PsdImageFile.format, "image/vnd.adobe.photoshop")