Skip to content

Commit e10a5ec

Browse files
committed
Add th headers to tables, newlines, fix typo
1 parent db774ee commit e10a5ec

File tree

3 files changed

+116
-109
lines changed

3 files changed

+116
-109
lines changed

docs/deprecations.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ Some attributes in :py:class:`PIL.ImageCms.CmsProfile` have been removed. From 6
135135
they issued a ``DeprecationWarning``:
136136

137137
======================== ===================================================
138-
139138
Removed Use instead
140139
======================== ===================================================
141140
``color_space`` Padded :py:attr:`~.CmsProfile.xcolor_space`
@@ -261,7 +260,7 @@ PIL.OleFileIO
261260
.. deprecated:: 4.0.0
262261
.. versionremoved:: 6.0.0
263262

264-
PIL.OleFileIO was removed as a vendored file and in Pillow 4.0.0 (2017-01) in favour of
263+
PIL.OleFileIO was removed as a vendored file in Pillow 4.0.0 (2017-01) in favour of
265264
the upstream olefile Python package, and replaced with an ``ImportError`` in 5.0.0
266265
(2018-01). The deprecated file has now been removed from Pillow. If needed, install from
267266
PyPI (eg. ``python3 -m pip install olefile``).

docs/handbook/writing-your-own-file-decoder.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,15 @@ table describes some commonly used **raw modes**:
195195
| mode | description |
196196
+===========+=================================================================+
197197
| ``1`` | 1-bit bilevel, stored with the leftmost pixel in the most |
198+
| | |
198199
| | significant bit. 0 means black, 1 means white. |
199200
+-----------+-----------------------------------------------------------------+
200201
| ``1;I`` | 1-bit inverted bilevel, stored with the leftmost pixel in the |
202+
| | |
201203
| | most significant bit. 0 means white, 1 means black. |
202204
+-----------+-----------------------------------------------------------------+
203205
| ``1;R`` | 1-bit reversed bilevel, stored with the leftmost pixel in the |
206+
| | |
204207
| | least significant bit. 0 means black, 1 means white. |
205208
+-----------+-----------------------------------------------------------------+
206209
| ``L`` | 8-bit greyscale. 0 means black, 255 means white. |
@@ -214,9 +217,11 @@ table describes some commonly used **raw modes**:
214217
| ``BGR`` | 24-bit true colour, stored as (blue, green, red). |
215218
+-----------+-----------------------------------------------------------------+
216219
| ``RGBX`` | 24-bit true colour, stored as (red, green, blue, pad). The pad |
220+
| | |
217221
| | pixels may vary. |
218222
+-----------+-----------------------------------------------------------------+
219223
| ``RGB;L`` | 24-bit true colour, line interleaved (first all red pixels, then|
224+
| | |
220225
| | all green pixels, finally all blue pixels). |
221226
+-----------+-----------------------------------------------------------------+
222227

0 commit comments

Comments
 (0)