mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 21:24:31 +03:00
Merge pull request #4788 from samamorgan/master
This commit is contained in:
commit
0b7077a385
|
@ -12,6 +12,7 @@ def test_sanity():
|
|||
assert im.mode == "RGB"
|
||||
assert im.size == (128, 128)
|
||||
assert im.format == "PSD"
|
||||
assert im.get_format_mimetype() == "image/vnd.adobe.photoshop"
|
||||
|
||||
im2 = hopper()
|
||||
assert_image_similar(im, im2, 4.8)
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user