We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4a480f commit 25af4f1Copy full SHA for 25af4f1
docs/releasenotes/11.2.0.rst
@@ -51,6 +51,15 @@ aligned using ``"justify"`` in :py:mod:`~PIL.ImageDraw`::
51
draw.multiline_text((0, 0), "Multiline\ntext 1", align="justify")
52
draw.multiline_textbbox((0, 0), "Multiline\ntext 2", align="justify")
53
54
+Specify window in ImageGrab on Windows
55
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56
+
57
+When using :py:meth:`~PIL.ImageGrab.grab`, a specific window can be selected using the
58
+HWND::
59
60
+ from PIL import ImageGrab
61
+ ImageGrab.grab(window=hwnd)
62
63
Check for MozJPEG
64
^^^^^^^^^^^^^^^^^
65
0 commit comments