DiscreteTom / rusty-duplication

Capture the screen on Windows using the Desktop Duplication API in Rust, with shared memory support.
MIT License
9 stars 1 forks source link

Performance improvements #12

Open lucasmonstrox opened 7 months ago

lucasmonstrox commented 7 months ago

Hello, I was following a package in python to get screenshots from desktop duplication api and the screen capture time is between 500microseconds to 1 millisecond on my machine. The project was made in python, probably using ctypes and bindings.

Gonna share the project here, there are a lot of interesting approachs https://github.com/Agade09/DXcam/commits/main/

Btw, good project. Im migrating to rust and need a library to get screenshots. Currently here, Im getting screenshots in 12 milliseconds.

Best