mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
Update documentation for 4-bit RLE decoder
This commit is contained in:
parent
c2e9c66fcd
commit
455ffff735
|
@ -45,9 +45,9 @@ BMP
|
||||||
^^^
|
^^^
|
||||||
|
|
||||||
Pillow reads and writes Windows and OS/2 BMP files containing ``1``, ``L``, ``P``,
|
Pillow reads and writes Windows and OS/2 BMP files containing ``1``, ``L``, ``P``,
|
||||||
or ``RGB`` data. 16-colour images are read as ``P`` images. 4-bit run-length encoding
|
or ``RGB`` data. 16-colour images are read as ``P`` images.
|
||||||
is not supported. Support for reading 8-bit run-length encoding was added in Pillow
|
Support for reading 8-bit run-length encoding was added in Pillow 9.1.0.
|
||||||
9.1.0.
|
Support for reading 4-bit run-length encoding was added in Pillow 9.3.0.
|
||||||
|
|
||||||
Opening
|
Opening
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
@ -56,7 +56,8 @@ The :py:meth:`~PIL.Image.open` method sets the following
|
||||||
:py:attr:`~PIL.Image.Image.info` properties:
|
:py:attr:`~PIL.Image.Image.info` properties:
|
||||||
|
|
||||||
**compression**
|
**compression**
|
||||||
Set to ``bmp_rle`` if the file is run-length encoded.
|
Set to ``bmp_rle8`` if the file is a 256-color run-length encoded image.
|
||||||
|
Set to ``bmp_rle4`` if the file is a 16-color run-length encoded image.
|
||||||
|
|
||||||
DDS
|
DDS
|
||||||
^^^
|
^^^
|
||||||
|
|
Loading…
Reference in New Issue
Block a user