-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
How to turn scaling off? Screen grab always has scaling with factor 2 applied #257
Comments
It's funny, I was thinking about that exact behavior. I will try something and rely on the CI (and maybe you) for the testing, since I don't own a Mac machine yet. |
I would be happy to test this. |
I was hoping to test this locally, but the docs look outdated, https://python-mss.readthedocs.io/developers.html Is there an updated guide for getting things running locally? I am also getting
when attempting to run main.py. I've researched this error extensively in other contexts and I cannot find a working solution for it |
Thanks for pointing the documentation issue, it's broken since my last commit, and I'll fix it. To run main: cd src
python -m mss You should remove any older MSS installation first: python -m pip uninstall -y mss And here is the correct installation command: python -m pip install -e '.[test]' |
So I did this, then added
to
|
The line that is throwing the exception is; https://github.com/BoboTiG/python-mss/blob/main/src/mss/darwin.py#L181 Without knowing what the underlying dll looks like, it's not easy to go deeper. But I will try to look at the arg and how the PR might have contributed |
Actually the PR isn't working. I quickly tried something, but without a Mac machine it's complex. |
General information:
OS name: macOS Big Sur
OS version: 11.1
OS architecture: 64 bits
Resolutions:
Python version: 3.10.7
MSS version: 9.0.1
Description
When I run the following code:
it results in
(1440, 900) (2880, 1800)
This interferes with my ability to then use
pyautogui
to find certain pixels with a given color and click them. Is there a way to turn scaling off inmss
, or is this perhaps a macOS issue?Upvote & Fund
The text was updated successfully, but these errors were encountered: