Python-MSS 11.0.0

This is version 11.0.0 of Python-MSS, the ultra-fast cross-platform multiple screenshots module.

Release date: 2026-xx-x


Highlights

API changes

The API changes discussed in the 10.2 release notes are now implemented. (They’re not all implemented as of this writing, but should be by the time we release 11.0!)

ScreenShot attributes

The mss.ScreenShot.raw attribute has been removed. Use the mss.ScreenShot.bgra property instead.

The mss.ScreenShot.bgra and mss.ScreenShot.rgb properties now will return read-only bytes-like memoryview objects, not necessarily bytes or bytearray objects. For practical use cases, this should not be noticible. This change was allows faster access to screenshot data, with fewer memory copies.

Python 3.9 EOL

Python 3.9 reached end-of-life on October 31, 2025 . It is no longer receiving any updates, even security updates.

The MSS project has chosen to end support for Python 3.9, in order to focus our resources on current versions of Python.

Windows Improvements

Improved error handling when interacting with Win32 API, which will improve diagnostics of issues.

Device contexts are now acquired and released within each grab() call, allowing monitor enumeration to work even when GetWindowDC(0) fails (#509).

General Improvements

The MSS context object will now always surface inner exceptions, even if __exit__ may also generate an exception during tear-down.

Documentation

The documentation has received numerous small improvements. A few highlights:

  • The Pillow examples and demos using PIL.Image.frombuffer() now explicitly specify the decoder arguments, as recommended by Pillow. (#535)