On 26/01/2008, Adam Bark <[EMAIL PROTECTED]> wrote:
>
> On 26/01/2008, Alex Holkner <[EMAIL PROTECTED]> wrote:
> >
> >
> > 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.
>
>
> Well I tried a different file and received the same error and looking at
> the codecs module in the interactive interpreter shows no png module.
>
> I think I've worked out where the problem is. I think it's something to do
with ctypes using a library from a version of python not located under /usr
I have stackless python running from /home whereas it worked fine before
when installed to /usr/local would this be something I need to bring up with
the python developers?

--~--~---------~--~----~------------~-------~--~----~
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