| Issue 318: | Add custom icon for PyMT Window ! | |
| 2 people starred this issue and may be notified of changes. | Back to list |
The default is just so ugly :)
Sep 27, 2010
Perhaps there should be a condition check whether the image icon can be loaded successfully or not.
I have PyGame 1.9.1release that I built myself and because I forgot to install SDL Image before I built it, my PyGame could not load Image files other than BMP files (see [1]). Since PyMT uses PNG image, my PyGame could not load the image and I got the following error when running PyMT:
pygame.error: File is not a Windows BMP file
The icon:
$ grep window_icon ~/.pymt/config
window_icon = /Users/iang/.pymt/icon/pymt32.png
$ file /Users/iang/.pymt/icon/pymt32.png
/Users/iang/.pymt/icon/pymt32.png: PNG image, 32 x 32, 8-bit/color RGBA, non-interlaced
I am using Mac OS X 10.6.4, Python 2.6.1, and PyGame 1.9.1release
[1] http://archives.seul.org/pygame/users/Feb-2002/msg00113.html
|
Owner: thomas.hansen