How to take an screenshot in code?
Opened this issue · 1 comments
Deleted user commented
I want to take a screenshot in code and get it by io.BytesIO.
How to do it?
Baekalfen commented
pyboy.botsupport_manager().screen().screen_image().save('screenshot.png')
You can find the documentation here: https://docs.pyboy.dk/index.html