如何使用扩展图像支持编译 pygame?
How to compile pygame with extended image support?
我正在按照 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 上的说明进行操作 说:
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.
如何指定选项?我在学校需要 pygame(支持 png),但也想要最新的 python 版本 (3.9)。
看来https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame处有pre-compiled个轮子!只要 pip install
它就可以了!感谢@importrandom 的帮助!
我正在按照 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 上的说明进行操作 说:
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.
如何指定选项?我在学校需要 pygame(支持 png),但也想要最新的 python 版本 (3.9)。
看来https://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame处有pre-compiled个轮子!只要 pip install
它就可以了!感谢@importrandom 的帮助!