-
Notifications
You must be signed in to change notification settings - Fork 89
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
Why so slow? #29
Comments
Example for gtk px=gtkbuffer.get_pixels() |
The only reason is that the original code was only for files, |
Any hints to make capture screenshot in Linux as fast as possible? I would like to be able to process it in real time, so I need to captures at a high FPS. |
@melonista I cobbled up something that was a bit faster, based in my previous comment but have since stopped working on it. I'll try to find it tomorrow and push to my fork It might not be enough to give you "high" FPS, though, depending on your definition of high. I think I got a couple per second, IIRC less than 10 |
Check the documentation for performance: http://pyscreenshot.readthedocs.io/en/latest/ |
Is there any reason for the backend code to be structured around writing to files? And also on a separate process?
For backends that don't need it (gtk, qt, ...?), it seems performance would be hundreds/thousands of times better if operations are done in memory.
The text was updated successfully, but these errors were encountered: