pygame png?
Guillaume Chereau
charlie at openmoko.org
Mon Dec 1 07:25:57 CET 2008
On Sun, 2008-11-02 at 00:26 -0400, Joel Newkirk wrote:
> OK, I'm playing around with pygame, trying to learn a few things about
> python on the way.
>
> pygame.image.load('pic.png') works find on my desktop but on the FR
> (under
> FSO) gives me:
> pygame.error: File is not a Windows BMP file
>
> Apparently compiled without support for png. Same for jpg.
>
> Are you serious?? Python-pygame for the FR is being built with only
> support for Windows BMP image files??
That was due to a bug in the python-pygame openembedded recipe. This
should be fixed now (my version 1.8.1-ml2.1 works).
You can test it from python by typing :
> import pygame
> print pygame.image.get_extended()
Which should return 1 if you have png support and 0 if not.
-charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.openmoko.org/pipermail/devel/attachments/20081201/06e27149/attachment.pgp
More information about the devel
mailing list