Skip to content

Commit

Permalink
Document ICO append_images [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 4, 2020
1 parent 2ae597c commit 1ced7b7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/handbook/image-file-formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ following options are available::
images in the list can be single or multiframe images.
This is currently supported for GIF, PDF, TIFF, and WebP.

It is also supported for ICNS. If images are passed in of relevant sizes,
they will be used instead of scaling down the main image.
It is also supported for ICO and ICNS. If images are passed in of relevant
sizes, they will be used instead of scaling down the main image.

**include_color_table**
Whether or not to include local color table.
Expand Down Expand Up @@ -238,6 +238,15 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options:
(64, 64), (128, 128), (256, 256)]``. Any sizes bigger than the original
size or 256 will be ignored.

The :py:meth:`~PIL.Image.Image.save` method can take the following keyword arguments:

**append_images**
A list of images to replace the scaled down versions of the image.
The order of the images does not matter, as their use is determined by
the size of each image.

.. versionadded:: 8.1.0

IM
^^

Expand Down

0 comments on commit 1ced7b7

Please sign in to comment.