Comments (4)
What error are you getting? I have an error with the Pillow version check, which I have fixed locally. Will open an issue to push the fix.
from pyscreeze.
Also having issues. I'm using PyScreeze 0.1.29 with Python 3.11.4 on MacOS 13.3.1.
First issue is that passing filename as string does not result in saving to disk (this is an OS screenshot):
![Screenshot 2023-06-15 at 12 25 34](https://private-user-images.githubusercontent.com/625766/246095471-b964908e-0107-42f8-82f6-d81e82ce167d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgyNjkzOTMsIm5iZiI6MTcxODI2OTA5MywicGF0aCI6Ii82MjU3NjYvMjQ2MDk1NDcxLWI5NjQ5MDhlLTAxMDctNDJmOC04MmY2LWQ4MWU4MmNlMTY3ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYxM1QwODU4MTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iN2FhMzcxNWFiODQzODM1NThkZWVkNDg3NmVkM2ViYzlkOTdkYWJkMTU5MzljMTMwODU0YWQwYjFmOWJhNTQwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.zV1bVf9_S21YU7rCrP4xuA3ujSPw5ddxdfF-31usubU)
I can save to disk in a separate step but the screenshot that gets saved should look like the one above, but instead is just an empty desktop with no applications:
Here's an OS screenshot afterwards:
![Screenshot 2023-06-15 at 12 26 39](https://private-user-images.githubusercontent.com/625766/246095755-ccad5b08-8152-4ce8-af47-015727695675.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgyNjkzOTMsIm5iZiI6MTcxODI2OTA5MywicGF0aCI6Ii82MjU3NjYvMjQ2MDk1NzU1LWNjYWQ1YjA4LTgxNTItNGNlOC1hZjQ3LTAxNTcyNzY5NTY3NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYxM1QwODU4MTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kNzMzNDBmN2YxNGIxNzE4Y2IyNWRhYWQwYjVhNjdlMmFlY2ZmZjkzNDdmY2Q4NTVhOTQyNTczZWEyM2QyZDZlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.sxnRCdYgOHe6meDN7P6kxWAqlTW4XEjoLTfcCVkkvS8)
from pyscreeze.
@rnbrady have you given iTerm screen recording permissions in the system settings? This is quite a common issue and fix
from pyscreeze.
@Existance29 I hadn't. Thank you so much for this tip.
from pyscreeze.
Related Issues (20)
- Support for async
- TypeError: '<' not supported between instances of 'str' and 'int' HOT 3
- pyscreeze.screenshot makes a full desktop screenshot instead of region HOT 3
- One color images are always located at (0, 0)
- where is 0.1.30? HOT 1
- `_screenshot_win32` on PyPI contains more arguments than on master
- Issue with pyscreeze version 0.1.30 - ImageNotFoundException HOT 5
- CHANGES.txt missing in tarball
- In method [_screenshot_xxx ]; Use param[region] error, causing larger screenshots HOT 1
- Linux saves image before checking if region is set
- Location `Box()` that `locate` functions return don't quite describe the `region` the image was found at.
- pyscreeze 0.1.30 fails to execute properly on Ubuntu 22.04.
- cant install pyautogui
- Is it worth making improvements here?
- `locateAll` may return overlapped boxes
- Screenshot multiple monitors offset
- (macosx) FileNotFoundError: [Errno 2] No such file or directory: "screenshot...'
- Bug in opencv `locateAll`
- Pillow version check on Mac OS fails. Suggesting fix. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyscreeze.