[visionegg] png transparency

  • From: adam naples <adam.naples@xxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Thu, 03 Aug 2006 18:18:25 -0400

HI, this is probably a really stupid question.
but how do I display pngs with transparency information? I am trying to display multiple images with some overlapping.
right now all I get is my image inside of a black rectangle
I'm using this code to load the images


filename = os.path.join("pad.png")
pygame_surface = pygame.image.load(filename)
texture = Texture(pygame_surface)


thanks in advance -a

======================================
The Vision Egg mailing list
Archives: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: