Screenshots in Ren'py
Posted: Fri Feb 14, 2014 5:09 pm
Hey Ren’Py Community,
I am trying to use a common python module in windows to take screenshots, PIL or Python Imaging Library. Basically, you call PIl.ImageGrabber.grab() to take a screenshot. Now when I take a screenshot with ren’py in windowed mode, it successfully takes a screenshot. However, when I take a screenshot in full screen mode, it does not take a screenshot of the ren’py screen but takes a picture of the windows desktop or just a black screen. Generally the screenshots are black but sometimes they are cropped.
Now, I would love to use the ‘renpy.takescreenshot()’ function, however, it saves it in a compressed file (the normal save files). I was wondering if there is a way I can get renpy to just dump a screenshot file, what command would I have to do? What python function would I need to write and where would I need to look?
Any and all advice on this is appreciated.
-Zeke
I am trying to use a common python module in windows to take screenshots, PIL or Python Imaging Library. Basically, you call PIl.ImageGrabber.grab() to take a screenshot. Now when I take a screenshot with ren’py in windowed mode, it successfully takes a screenshot. However, when I take a screenshot in full screen mode, it does not take a screenshot of the ren’py screen but takes a picture of the windows desktop or just a black screen. Generally the screenshots are black but sometimes they are cropped.
Now, I would love to use the ‘renpy.takescreenshot()’ function, however, it saves it in a compressed file (the normal save files). I was wondering if there is a way I can get renpy to just dump a screenshot file, what command would I have to do? What python function would I need to write and where would I need to look?
Any and all advice on this is appreciated.
-Zeke