[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] pygame.image.save corrupts surface in memory



Problem: When calling pygame.image.save(colorkey_surface, "surf.png"), the colorkey_surface in memory loses the color_key information.

Workaround: I call the set_colorkey function after the save

It's not a big issue, but I wouldn't expect that saving an image should affect the actual surface being saved.