What happens when you run
python image_display.py pyglet.png
--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To post to this group, send email to pyglet...@googlegroups.com.
To unsubscribe from this group, send email to pyglet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
I was able to get QuartzImageDecoder to work one time, but I can't reproduce it. I was experimenting running the OSX default python2.6 instead of my framework build 2.7.2 in virtualenv.
I'm using virtualenv and pyobjc v2.2. Does anybody know of incompatibilities with pyglet, virtualenv, and pyobjc2.2?
Winston Wolff
Stratolab - Games for Learning
tel: (917) 543 8852
web: www.stratolab.com
On Apr 6, 2012, at 5:27 PM, Winston Wolff wrote:
> Hi Phillip-
>
> Thanks for taking the time to examine my problem. My example then is probably a bad one because the corners are indeed transparent, but there are non-transparent pixels later on.
>
>> What happens when you run
>> python image_display.py pyglet.png
>
> Attached is a screenshot which shows that pyglet.png does not show up when rendered by pyglet, but does appear with Preview.app.
>
> Winston Wolff
> Stratolab - Games for Learning
> tel: (917) 543 8852
> web: www.stratolab.com
> <image_display_of_pyglet_png.png>
Yay, your version of the quartz image loader works great! Thank goodness.
I'll just comment on a funny effect of the pre-multiplying, but I'm not complaining--your fix is great and I can start working on my prototype again. I have one image with a white background, but different alphas in different parts of the solid-white background as a result of erasing parts of my original image in my image editor. That makes funny dark lines appear. I can fix my image.
-Winston
I thinking that it might be a good
time to just bring all of the code from the cocoa-ctypes clone into
the normal repository and drop PyObjC. I can't really think of any
good reasons anymore for keeping it.
Yes, sorry I haven't been able to get back to you. I have some free
time coming up in a week or so. I thinking that it might be a good
time to just bring all of the code from the cocoa-ctypes clone into
the normal repository and drop PyObjC. I can't really think of any
good reasons anymore for keeping it.
--phillip