Code: Select all
renpy.screenshot(filename)
Code: Select all
renpy.game.interface.save_screenshot(filename)
Code: Select all
renpy.take_screenshot((1920,1080))
photo = renpy.game.interface.get_screenshot()
I've rummaged through the renpy files, found (line 2542 in core.rpy):
Code: Select all
save_screenshot(self, filename)
Code: Select all
image_save_unscaled(surf, filename)
The closest thing I've found is this post from nine years ago that works perfectly, just have to figure out how to crop the image the way it can be written.