On Jan 26, 2008 2:11 PM, Adam Bark <[EMAIL PROTECTED]> wrote:
>
> On 26/01/2008, Alex Holkner <[EMAIL PROTECTED]> wrote:
>
>
> >
> > On 1/26/08, Adam Bark <[EMAIL PROTECTED]> wrote:
> > > Hi can someone tell me what the requirements are for the png decoder
> under
> > > linux?
> >
> > No requirements; pyglet has a PNG decoder written in Python (see
> > pyglet/image/codecs/pypng.py).
> >
> > This is a fallback decoder; pyglet will preferentially try to use
> > gdk-pixbuf 2.0 if it's available, which is much faster (and supports
> > many additional file types).
> >
> > Alex.
>
> Oh well I got this error and there's no png module in pyglet.image.codecs
> pyglet.image.codecs.ImageDecodeException: Unable to load pixbuf:
> textures/crosshair.png

It sounds like the image is corrupt (or an unsupported format); this
is the error you will see if neither gdk-pixbuf (which generated the
error) or the fallback code could read the image (however, the file
does exist).

Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to