Hi, i think that exist a problem with images created with pyglet.image.load,
when i blit an image created with pyglet.image.load it show a little border
that no exist in original image.

I create a example that show this problem comparing images creates with
"pyglet.image.load" and "pyglet.resource.image":

screenshot of example:
http://www.losersjuegos.com.ar/incoming/descargas/20080621/image_load.png

image used in example:
http://www.losersjuegos.com.ar/incoming/descargas/20080621/0.png

-- %< --
import os
import pyglet

window = pyglet.window.Window()

image_1 = pyglet.image.load('0.png')
image_2 = pyglet.resource.image('0.png')

@window.event
def on_draw():
    window.clear()

    for x in range(0, 400, image_1.width):
        image_1.blit(x, 200)

    for x in range(0, 400, image_2.width):
        image_2.blit(x, 10)

pyglet.app.run()
-- %< --

Regards.

-- 
Hugo Ruscitti
www.losersjuegos.com.ar

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