mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
parent
abc4d55f08
commit
efa94a78e6
|
@ -149,6 +149,19 @@ sets the following :py:attr:`~PIL.Image.Image.info` property:
|
|||
ask for ``(512, 512, 2)``, the final value of
|
||||
: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
|
||||
^^
|
||||
|
||||
|
@ -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
|
||||
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
|
||||
^^^
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user