Pillow icon indicating copy to clipboard operation
Pillow copied to clipboard

Do not resize macOS retina screenshots by default

Open radarhere opened this issue 2 months ago • 0 comments

Resolves https://github.com/python-pillow/Pillow/issues/9253

On macOS retina screens, ImageGrab.grab() will produce 2x images when not using bbox, but 1x images when using bbox. The issue describes this as inconsistent.

Scaling bounding box images down was added in https://github.com/python-pillow/Pillow/pull/6152 with Pillow 9.1.0, so that is relatively new. This PR stops that resizing by default. If the user wishes to resize, they must provide a keyword-only argument,ImageGrab.grab(scale_down=True)

radarhere avatar Oct 18 '25 00:10 radarhere