Skip to content

Feature: capture background window #331

Open
@minkyu97

Description

@minkyu97

General information:

OS name: MacOS (Darwin Kernel Version 24.1.0)
OS version: 15.1
OS architecture: 64 bits
Resolutions: 1512 x 982
Monitor 1: 3024 x 1964
Python version: 3.12.8
MSS version: 10.0.0

New Feature Suggestion

Hi!

I have lots of respect for your efforts in implementing a cross-platform, high-performance screen capture library.
And I'm really impressed with the performance of this library compared to other libraries with similar functionality such as pyscreeze, Pillow, .. etc.

While your library is already quite useful, I'd like to suggest additional useful feature, Window Capture.
If you have used OBS Studio before, you may know it supports per-window capture, one of my favorite features on OBS.
And I found it can be implemented quite easily, as both OBS studio and mss use the same API for capturing on Mac. (here it is how obs implement window capture on macOS)

I'm not sure how to achieve this on Windows or X11, but since OBS Studio already supports it, I believe it should be possible on those platforms as well!

If you’re interested, I’d be happy to contribute directly—at least for the macOS implementation. So let me know if you’d like me to help!

Thank you for reading my message.
I look forward to your response.

Best,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions