Pillow
Pillow copied to clipboard
Do not resize macOS retina screenshots by default
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)