Updated versions

This commit is contained in:
Andrew Murray 2020-02-15 15:35:12 +11:00
parent 6473c237c0
commit 790ff223fc

View File

@ -17,7 +17,7 @@ or the clipboard to a PIL image memory.
returned as an "RGB" image on Windows or "RGBA" on macOS. returned as an "RGB" image on Windows or "RGBA" on macOS.
If the bounding box is omitted, the entire screen is copied. If the bounding box is omitted, the entire screen is copied.
.. versionadded:: 1.1.3 (Windows), 3.0.0 (macOS), 7.0.0 (Linux (X11)) .. versionadded:: 1.1.3 (Windows), 3.0.0 (macOS), 7.1.0 (Linux (X11))
:param bbox: What region to copy. Default is the entire screen. :param bbox: What region to copy. Default is the entire screen.
Note that on Windows OS, the top-left point may be negative if ``all_screens=True`` is used. Note that on Windows OS, the top-left point may be negative if ``all_screens=True`` is used.
@ -31,7 +31,7 @@ or the clipboard to a PIL image memory.
:param xdisplay: X11 Display address. Pass ``None`` to grab the default system screen. :param xdisplay: X11 Display address. Pass ``None`` to grab the default system screen.
Pass ``""`` to grab the default X11 screen on Windows or macOS. Pass ``""`` to grab the default X11 screen on Windows or macOS.
.. versionadded:: 7.0.0 .. versionadded:: 7.1.0
:return: An image :return: An image
.. py:function:: PIL.ImageGrab.grabclipboard() .. py:function:: PIL.ImageGrab.grabclipboard()