Merge pull request #4117 from radarhere/formats

Clarified image format documentation
This commit is contained in:
Hugo van Kemenade 2019-10-06 09:02:52 +03:00 committed by GitHub
commit 068fd7b6f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,8 +113,8 @@ to seek to the next frame (``im.seek(im.tell() + 1)``).
Saving
~~~~~~
When calling :py:meth:`~PIL.Image.Image.save`, the following options
are available::
When calling :py:meth:`~PIL.Image.Image.save` to write a GIF file, the
following options are available::
im.save(out, save_all=True, append_images=[im1, im2, ...])
@ -813,8 +813,9 @@ Saving sequences
library is v0.5.0 or later. You can check webp animation support at
runtime by calling ``features.check("webp_anim")``.
When calling :py:meth:`~PIL.Image.Image.save`, the following options
are available when the ``save_all`` argument is present and true.
When calling :py:meth:`~PIL.Image.Image.save` to write a WebP file, the
following options are available when the ``save_all`` argument is present and
true.
**append_images**
A list of images to append as additional frames. Each of the