Closed Nriver closed 4 years ago
ImageGrab does that but it's not for linux. I have the same issue.
Please add more details!
All back-ends work with my setup:
grab(bbox=(500, 400, 2800, 600)
Full screen also works:
python -m pyscreenshot.examples.showgrabfullscreen
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.
Screen indexing is a different topic. I don't know if it is possible at all.
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
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.