How to compile pygame with extended image support?

710 views Asked by At

I am following the instructions at https://www.pygame.org/wiki/CompileWindows, and I've compiled pygame successfully! However, I still cannot get extended image support to work. Pygame's documentation says:

The image module is a required dependency of pygame, but it only optionally supports any extended file formats. By default it can only load uncompressed BMP images.

How do I specify the option? I need pygame (with png support) for school, but also want the latest python version (3.9).

1

There are 1 answers

0
Seth On BEST ANSWER

Apparently, there is pre-compiled wheel at https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame! Just pip install it and it works! Thanks to @importrandom for the help!