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

Re: [pygame] `pygame`: on Ubuntu, using `pygame.image.save` to save PNG causes `pygame.error: SavePNG: could not create png write struct`



âN.B. creating the write struct does not, for example, require being able to open the actual file for writing. Therefore, this isn't an IO issue (if the error is indeed what it says).

I think this is probably an outdated library. Probably, updating/compiling the PyGame version as suggested is necessary.

Ian