From 4da0e100c3bb1cd29a2f31ef014f178ec526b1e9 Mon Sep 17 00:00:00 2001 From: Eric Moyer Date: Mon, 26 Oct 2020 18:44:04 -0400 Subject: [PATCH] Add save_all notation to webp I just tried to use the WEBP writer to save an animation and was unable to without `save_all=true`. But that parameter was not mentioned in the documentation. This correction adds it. --- docs/handbook/image-file-formats.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index 680582f12..ffc5a8a34 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -951,6 +951,10 @@ 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. +**save_all** + If present and true, all frames of the image will be saved. If + not, then only the first frame of a multiframe image will be saved. + **append_images** A list of images to append as additional frames. Each of the images in the list can be single or multiframe images.