mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-28 21:13:41 +03:00
Merge pull request #2180 from alexwlchan/awlc/ico-isnt-readonly
Move ICO out of the list of read-only file formats
This commit is contained in:
commit
f439bc7520
|
@ -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 sizes 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
|
||||||
^^^
|
^^^
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user