mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Merge pull request #69 from radarhere/add-3.10
This commit is contained in:
commit
38fa78fe30
|
@ -312,6 +312,7 @@ texinfo_documents = [
|
|||
|
||||
def setup(app):
|
||||
app.add_js_file("js/script.js")
|
||||
app.add_css_file("css/styles.css")
|
||||
app.add_css_file("css/dark.css")
|
||||
app.add_css_file("css/light.css")
|
||||
|
||||
|
|
|
@ -191,39 +191,34 @@ match PIL’s internal pixel layout. PIL supports a large set of raw modes; for
|
|||
complete list, see the table in the :file:`Unpack.c` module. The following
|
||||
table describes some commonly used **raw modes**:
|
||||
|
||||
+-----------+-----------------------------------------------------------------+
|
||||
| mode | description |
|
||||
+===========+=================================================================+
|
||||
| ``1`` | 1-bit bilevel, stored with the leftmost pixel in the most |
|
||||
| | |
|
||||
| | significant bit. 0 means black, 1 means white. |
|
||||
+-----------+-----------------------------------------------------------------+
|
||||
| ``1;I`` | 1-bit inverted bilevel, stored with the leftmost pixel in the |
|
||||
| | |
|
||||
| | most significant bit. 0 means white, 1 means black. |
|
||||
+-----------+-----------------------------------------------------------------+
|
||||
| ``1;R`` | 1-bit reversed bilevel, stored with the leftmost pixel in the |
|
||||
| | |
|
||||
| | least significant bit. 0 means black, 1 means white. |
|
||||
+-----------+-----------------------------------------------------------------+
|
||||
| ``L`` | 8-bit greyscale. 0 means black, 255 means white. |
|
||||
+-----------+-----------------------------------------------------------------+
|
||||
| ``L;I`` | 8-bit inverted greyscale. 0 means white, 255 means black. |
|
||||
+-----------+-----------------------------------------------------------------+
|
||||
| ``P`` | 8-bit palette-mapped image. |
|
||||
+-----------+-----------------------------------------------------------------+
|
||||
| ``RGB`` | 24-bit true colour, stored as (red, green, blue). |
|
||||
+-----------+-----------------------------------------------------------------+
|
||||
| ``BGR`` | 24-bit true colour, stored as (blue, green, red). |
|
||||
+-----------+-----------------------------------------------------------------+
|
||||
| ``RGBX`` | 24-bit true colour, stored as (red, green, blue, pad). The pad |
|
||||
| | |
|
||||
| | pixels may vary. |
|
||||
+-----------+-----------------------------------------------------------------+
|
||||
| ``RGB;L`` | 24-bit true colour, line interleaved (first all red pixels, then|
|
||||
| | |
|
||||
| | all green pixels, finally all blue pixels). |
|
||||
+-----------+-----------------------------------------------------------------+
|
||||
+-----------+-------------------------------------------------------------------+
|
||||
| mode | description |
|
||||
+===========+===================================================================+
|
||||
| ``1`` | | 1-bit bilevel, stored with the leftmost pixel in the most |
|
||||
| | | significant bit. 0 means black, 1 means white. |
|
||||
+-----------+-------------------------------------------------------------------+
|
||||
| ``1;I`` | | 1-bit inverted bilevel, stored with the leftmost pixel in the |
|
||||
| | | most significant bit. 0 means white, 1 means black. |
|
||||
+-----------+-------------------------------------------------------------------+
|
||||
| ``1;R`` | | 1-bit reversed bilevel, stored with the leftmost pixel in the |
|
||||
| | | least significant bit. 0 means black, 1 means white. |
|
||||
+-----------+-------------------------------------------------------------------+
|
||||
| ``L`` | 8-bit greyscale. 0 means black, 255 means white. |
|
||||
+-----------+-------------------------------------------------------------------+
|
||||
| ``L;I`` | 8-bit inverted greyscale. 0 means white, 255 means black. |
|
||||
+-----------+-------------------------------------------------------------------+
|
||||
| ``P`` | 8-bit palette-mapped image. |
|
||||
+-----------+-------------------------------------------------------------------+
|
||||
| ``RGB`` | 24-bit true colour, stored as (red, green, blue). |
|
||||
+-----------+-------------------------------------------------------------------+
|
||||
| ``BGR`` | 24-bit true colour, stored as (blue, green, red). |
|
||||
+-----------+-------------------------------------------------------------------+
|
||||
| ``RGBX`` | | 24-bit true colour, stored as (red, green, blue, pad). The pad |
|
||||
| | | pixels may vary. |
|
||||
+-----------+-------------------------------------------------------------------+
|
||||
| ``RGB;L`` | | 24-bit true colour, line interleaved (first all red pixels, then|
|
||||
| | | all green pixels, finally all blue pixels). |
|
||||
+-----------+-------------------------------------------------------------------+
|
||||
|
||||
Note that for the most common cases, the raw mode is simply the same as the mode.
|
||||
|
||||
|
|
|
@ -527,9 +527,8 @@ These platforms have been reported to work at the versions mentioned.
|
|||
+----------------------------------+------------------------------+----------------+------------+
|
||||
| Fedora 23 | 2.7, 3.4 | 3.1.0 | x86-64 |
|
||||
+----------------------------------+------------------------------+----------------+------------+
|
||||
| Ubuntu Linux 12.04 LTS (Precise) | 2.6, 3.2, 3.3, 3.4, 3.5, | 3.4.1 | x86,x86-64 |
|
||||
| | | | |
|
||||
| | PyPy5.3.1, PyPy3 v2.4.0 | | |
|
||||
| Ubuntu Linux 12.04 LTS (Precise) | | 2.6, 3.2, 3.3, 3.4, 3.5, | 3.4.1 | x86,x86-64 |
|
||||
| | | PyPy5.3.1, PyPy3 v2.4.0 | | |
|
||||
| +------------------------------+----------------+------------+
|
||||
| | 2.7 | 4.3.0 | x86-64 |
|
||||
| +------------------------------+----------------+------------+
|
||||
|
|
8
docs/resources/css/styles.css
Normal file
8
docs/resources/css/styles.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
th p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.rst-content td .line-block {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user