mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Changed PIL to Pillow for newly supported formats.
This commit is contained in:
parent
14976346a8
commit
3b3f58d1bc
|
@ -52,7 +52,7 @@ class TestFileMpo(PillowTestCase):
|
|||
for test_file in test_files:
|
||||
im = Image.open(test_file)
|
||||
mpinfo = im._getmp()
|
||||
self.assertEqual(mpinfo[45056], '0100')
|
||||
self.assertEqual(mpinfo[45056], b'0100')
|
||||
self.assertEqual(mpinfo[45057], 2)
|
||||
|
||||
def test_mp_attribute(self):
|
||||
|
|
|
@ -591,14 +591,14 @@ first sprite in the file is loaded. You can use :py:meth:`~file.seek` and
|
|||
MPO
|
||||
^^^
|
||||
|
||||
PIL identifies and reads Multi Picture Object (MPO) files, loading the primary
|
||||
Pillow identifies and reads Multi Picture Object (MPO) files, loading the primary
|
||||
image when first opened. The :py:meth:`~file.seek` and :py:meth:`~file.tell`
|
||||
methods may be used to read other pictures from the file. The pictures are
|
||||
zero-indexed and random access is supported.
|
||||
|
||||
MIC (read only)
|
||||
|
||||
PIL identifies and reads Microsoft Image Composer (MIC) files. When opened, the
|
||||
Pillow identifies and reads Microsoft Image Composer (MIC) files. When opened, the
|
||||
first sprite in the file is loaded. You can use :py:meth:`~file.seek` and
|
||||
:py:meth:`~file.tell` to read other sprites from the file.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user