Skip to content

Commit 78430b9

Browse files
committed
Corrected BMP compression setting [ci skip]
1 parent cc45886 commit 78430b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/handbook/image-file-formats.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ The :py:meth:`~PIL.Image.open` method sets the following
5656
:py:attr:`~PIL.Image.Image.info` properties:
5757

5858
**compression**
59-
Set to ``bmp_rle8`` if the file is a 256-color run-length encoded image.
60-
Set to ``bmp_rle4`` if the file is a 16-color run-length encoded image.
59+
Set to 1 if the file is a 256-color run-length encoded image.
60+
Set to 2 if the file is a 16-color run-length encoded image.
6161

6262
DDS
6363
^^^

0 commit comments

Comments
 (0)