The code:
img = pygame.image.load(file('b.png'))

results in:
Traceback (most recent call last):
 File "C:\Python24\a.py", line 48, in ?
   img = pygame.image.load(file('b.png'))
error: Error reading the PNG file.

I don't know if this has been fixed in Pygame 1.8. If I can get
1.8compiled, I will test it.
This feature is specified in the documents. It is a useful feature, you can
make file-like objects from anything (I wanted to use ZIP files).

Thank you,
Josh

PS: Is there anything I can to help with 1.8?

Reply via email to