cd /news/computer-vision/ultra-fast-cross-platform-multiple-s… · home topics computer-vision article
[ARTICLE · art-22425] src=python-mss.readthedocs.io pub= topic=computer-vision verified=true sentiment=↑ positive

Ultra fast cross-platform multiple screenshots module in pure Python

Python MSS, a pure Python module using ctypes, now offers ultra fast cross-platform multiple screenshots with no dependencies and thread-safe operation for Python 3.9+. The module captures screenshots per monitor or all monitors simultaneously, integrates with PIL, Numpy, and OpenCV, and is designed for AI, computer vision, and gaming applications.

read1 min publishedJun 5, 2026
from mss import MSS

with MSS() as sct:
    sct.shot()

An ultra fast cross-platform multiple screenshots module in pure python using ctypes.

Python 3.9+,[compliant, no dependency, thread-safe;]PEP 8very basic, it will grab one screenshot by monitor or a screenshot of all monitors and save it to a PNG file;

but you can use PIL and benefit from all its formats (or add yours directly);

integrate well with Numpy and OpenCV;

it could be easily embedded into games and other software which require fast and platform optimized methods to grab screenshots (like AI, Computer Vision);

get the

[source code on GitHub];learn with a

[bunch of examples];you can

[report a bug];need some help? Use the tag

python-msson[Stack Overflow];

MSSstands for Multiple ScreenShots;

── more in #computer-vision 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ultra-fast-cross-pla…] indexed:0 read:1min 2026-06-05 ·