Changed PIL to Pillow for newly supported formats.

This commit is contained in:
Eric W. Brown 2014-07-25 14:47:07 -04:00
parent 14976346a8
commit 3b3f58d1bc
2 changed files with 3 additions and 3 deletions

View File

@ -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):

View File

@ -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.