I think this is probably a bug in pyglet's quartz image decoder having to do with loading color-indexed PNGs.
--phillip On Mar 15, 4:16 pm, Charles Brandt <[email protected]> wrote: > I've been using pyglet trunk (1.2 dev) on a Mac with OS X version 10.6.8 > and Python version 2.6.1. Generally, things seem to be working very > well with the Cocoa version of pyglet. > > I have noticed one strange behavior when trying to display a PNG file. > For example, using the following image:http://i.imgur.com/65CT3.png > > With: > python pyglet/examples/image_display.py 65CT3.png > > results in a very dim version of the image being displayed. It almost > looks like a black image with nothing there, but the original version is > faintly visible. It seems to be specific to the PNG format (maybe a > transparency issue?), since a JPG version of the image shows up no > problem. Also, I have tried the same PNG on other back ends with pyglet > (windows, etc) and the image shows up as expected. > > Any ideas? > > Thanks! > > -Charles. -- 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.
