mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Update grabclipboard() documentation after #6783
This commit is contained in:
parent
e063ed772c
commit
6df8716025
|
@ -39,9 +39,11 @@ or the clipboard to a PIL image memory.
|
||||||
|
|
||||||
.. py:function:: grabclipboard()
|
.. py:function:: grabclipboard()
|
||||||
|
|
||||||
Take a snapshot of the clipboard image, if any. Only macOS and Windows are currently supported.
|
Take a snapshot of the clipboard image, if any.
|
||||||
|
|
||||||
.. versionadded:: 1.1.4 (Windows), 3.3.0 (macOS)
|
On Linux, ``wl-paste`` or ``xclip`` is required.
|
||||||
|
|
||||||
|
.. versionadded:: 1.1.4 (Windows), 3.3.0 (macOS), 9.4.0 (Linux)
|
||||||
|
|
||||||
:return: On Windows, an image, a list of filenames,
|
:return: On Windows, an image, a list of filenames,
|
||||||
or None if the clipboard does not contain image data or filenames.
|
or None if the clipboard does not contain image data or filenames.
|
||||||
|
@ -49,3 +51,5 @@ or the clipboard to a PIL image memory.
|
||||||
|
|
||||||
On Mac, an image,
|
On Mac, an image,
|
||||||
or None if the clipboard does not contain image data.
|
or None if the clipboard does not contain image data.
|
||||||
|
|
||||||
|
On Linux, an image.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user