Is there a way I can take a screenshot of the right half of my pygame window?
I'm making a game using pygame and I need to take a snapshot of the screen but not the whole screen, just the right half.
I know of:
pygame.image.save(screen,"screenshot.jpg")
But that will include the entire screen in the image.
Is there a way I can take a screenshot of the right half of my pygame window?
Maybe by changing the area that it includes somehow? I've googled it but couldn't find anything I was thinking maybe I could use PIL to crop it, but that seems like a lot of additional work.
If it's not possible, can anyone tell me the easiest way for me to crop the picture of the whole screen?