I think he left out a step: screenshot = pygame.surface.Surface(screen.get_size()) screenshot.blit(screen,[0,0]) pygame.image.save(screenshot,"screenshot.bmp")
On 10/30/07, Ian Mallett <[EMAIL PROTECTED]> wrote: > On 10/30/07, Kris Schnee <[EMAIL PROTECTED]> wrote: > > > ## Where "screen" is your display surface: > > screenshot = pygame.surface.Surface(screen.get_size()) > > pygame.image.save(screenshot,"screenshot.bmp") > Well, it doesn't crash, which is a step in the right direction, it just > saves a blank (black) screen with the size of the screen resolution size. > > Ian >