You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an issue with the dxcam library where calling camera.grab() consecutively causes the second call to return None. Here’s a minimal example that reproduces the issue:
camera = dxcam.create()
camera.grab() # First call works fine
camera.grab() # Second call returns None
It seems that after the first call to grab(), the second call immediately returns None and fails to capture the frame. This issue prevents me from taking multiple quick successive screenshots.
Could you please advise on how to resolve this or if there is a workaround available?
Thank you!
The text was updated successfully, but these errors were encountered:
This is the default and the only supported format (for now). It is worth noting that .grab will return None if there is no new frame since the last time you called .grab. Usually it means there's nothing new to render since last time (E.g. You are idling).
Hello,
I've encountered an issue with the dxcam library where calling camera.grab() consecutively causes the second call to return None. Here’s a minimal example that reproduces the issue:
camera = dxcam.create()
camera.grab() # First call works fine
camera.grab() # Second call returns None
It seems that after the first call to grab(), the second call immediately returns None and fails to capture the frame. This issue prevents me from taking multiple quick successive screenshots.
Could you please advise on how to resolve this or if there is a workaround available?
Thank you!
The text was updated successfully, but these errors were encountered: