Move ICO out of the list of read-only file formats

Fixes #2179.
This commit is contained in:
Alex Chan 2016-10-26 19:41:40 +01:00
parent abc4d55f08
commit efa94a78e6
No known key found for this signature in database
GPG Key ID: F690AAE767877632

View File

@ -149,6 +149,19 @@ sets the following :py:attr:`~PIL.Image.Image.info` property:
ask for ``(512, 512, 2)``, the final value of ask for ``(512, 512, 2)``, the final value of
:py:attr:`~PIL.Image.Image.size` will be ``(1024, 1024)``). :py:attr:`~PIL.Image.Image.size` will be ``(1024, 1024)``).
ICO
^^^
ICO is used to store icons on Windows. The largest available icon is read.
The :py:meth:`~PIL.Image.Image.save` method supports the following options:
**sizes**
A list of sizes including in this ico file; these are a 2-tuple,
``(width, height)``; Default to ``[(16, 16), (24, 24), (32, 32), (48, 48),
(64, 64), (128, 128), (255, 255)]``. Any size is bigger then the original
size or 255 will be ignored.
IM IM
^^ ^^
@ -730,19 +743,6 @@ The :py:meth:`~PIL.Image.Image.open` method sets the following
Transparency color index. This key is omitted if the image is not Transparency color index. This key is omitted if the image is not
transparent. transparent.
ICO
^^^
ICO is used to store icons on Windows. The largest available icon is read.
The :py:meth:`~PIL.Image.Image.save` method supports the following options:
**sizes**
A list of sizes including in this ico file; these are a 2-tuple,
``(width, height)``; Default to ``[(16, 16), (24, 24), (32, 32), (48, 48),
(64, 64), (128, 128), (255, 255)]``. Any size is bigger then the original
size or 255 will be ignored.
IMT IMT
^^^ ^^^