pyglet porting, using pillow for PNG imports