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

Re: [pygame] .png saving



Ian Mallett wrote:
Hi,
Saving a surface with "pygame.image.save()" with file extension ".png" is broken.

Yeah, unfortunately that function seems only to like BMP and possibly TGA formats for saving. The good news is that these are lossless formats, so there's no smearing of images if you save them. You might try the Pygame Image Library (PIL) if you really need PNG support.