Skip to content

Allow window ID to be passed to ImageGrab.grab() on macOS#9070

Merged
radarhere merged 11 commits into
python-pillow:mainfrom
yankeguo:main
Dec 1, 2025
Merged

Allow window ID to be passed to ImageGrab.grab() on macOS#9070
radarhere merged 11 commits into
python-pillow:mainfrom
yankeguo:main

Check for scaling in macOS windows

79914ec
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jul 13, 2025 in 0s

31.57% of diff hit (target 89.87%)

View this Pull Request on Codecov

31.57% of diff hit (target 89.87%)

Annotations

Check warning on line 47 in src/PIL/ImageGrab.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/PIL/ImageGrab.py#L47

Added line #L47 was not covered by tests

Check warning on line 62 in src/PIL/ImageGrab.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/PIL/ImageGrab.py#L60-L62

Added lines #L60 - L62 were not covered by tests

Check warning on line 67 in src/PIL/ImageGrab.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/PIL/ImageGrab.py#L65-L67

Added lines #L65 - L67 were not covered by tests

Check warning on line 73 in src/PIL/ImageGrab.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/PIL/ImageGrab.py#L71-L73

Added lines #L71 - L73 were not covered by tests

Check warning on line 80 in src/PIL/ImageGrab.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/PIL/ImageGrab.py#L78-L80

Added lines #L78 - L80 were not covered by tests