0
Q:

how to take a screenshot of the pygame window and paste it

pygame.image.save(screen,"screenshot.jpg")
0
rect = pygame.Rect(25, 25, 100, 50)
sub = screen.subsurface(rect)
pygame.image.save(sub, "screenshot.jpg")
0

New to Communities?

Join the community