From df42b63eac8df4f80a75b46a975875f8946d8490 Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Fri, 10 Jan 2020 14:53:25 +0900 Subject: [PATCH] Cleanup documentation - Add changes requested by hugovk --- docs/handbook/image-file-formats.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index d3427371928..1dd186c986f 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -552,9 +552,10 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options: documentation <../installation.html>`_ for details. APNG sequences -~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~ -The PNG loader includes limited support for reading and writing APNG files. +The PNG loader includes limited support for reading and writing Animated Portable +Network Graphics (APNG) files. When an APNG file is loaded, :py:meth:`~PIL.ImageFile.ImageFile.get_format_mimetype` will return ``"image/apng"``, and the :py:attr:`~PIL.Image.Image.is_animated` property will be ``True`` (even for single frame APNG files). @@ -563,7 +564,7 @@ are supported. ``im.seek()`` raises an :py:exc:`EOFError` if you try to seek after the last frame. -The following :py:attr:`~PIL.Image.Image.info` properties will be set for APNG frames, +These :py:attr:`~PIL.Image.Image.info` properties will be set for APNG frames, where applicable: **default_image**