Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any thoughts about captureing multiple screens? #48

Closed
Nriver opened this issue Mar 9, 2018 · 5 comments
Closed

Any thoughts about captureing multiple screens? #48

Nriver opened this issue Mar 9, 2018 · 5 comments

Comments

@Nriver
Copy link

Nriver commented Mar 9, 2018

Here is the situation, I got more than one screen connected to my computer. And I can not capture the second screen with pyscreenshot. Tried to use coordinates outside the first screen, but only get blackout where I thought there will be the second screen's picture.

@phanirithvij
Copy link

ImageGrab does that but it's not for linux.
I have the same issue.

@ponty
Copy link
Owner

ponty commented Dec 20, 2018

Please add more details!

All back-ends work with my setup:

  • 2 full HD monitors
  • Ubuntu 18.04 + X11
grab(bbox=(500, 400, 2800, 600)

Full screen also works:

python -m pyscreenshot.examples.showgrabfullscreen

@v-ko
Copy link

v-ko commented Oct 7, 2019

Referencing the coordinates works in specific cases, but it would be a nice option to target screens by index, since e.g. laptop +/- monitor setup are pretty common (where the setup changes frequently). That implies having a function to retrieve screen information (bboxes for all available screens). And I don't know if that's in the scope of pyscreenshot.

@ponty
Copy link
Owner

ponty commented Dec 3, 2019

Screen indexing is a different topic. I don't know if it is possible at all.

@v-ko
Copy link

v-ko commented Dec 3, 2019

It's possible on some platforms, Qt has the functionality on linux, but then again it's tricky in other cases. Thanks for the reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants