diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index f03bb6bb8..135fccdd8 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -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 ^^^