title: pyglet - loading/blitting image with alpha
body: <p>I'm trying to make a simple application with pyglet. My main problem so far is that I can't seem to blit an image with alpha - all of the transparent pixels are converted into black pixels. I'm not sure whether the problem is with the loading of the image or the blitting. Here is a very basic overview of how I'm trying to render the image:</p>
  
  <pre><code>import pyglet
  import pyglet.clock
  
  window = pyglet.window.Window()
  
  window.config.alpha_size = 8
  
  #fancy text
  text = pyglet.resource.image("text.png")
  
  #background image
  bg = pyglet.resource.image("bg.png")
  
  bg.blit(0, 0)
  text.blit(100, 100)
  
  pyglet.app.run()
  </code></pre>
  
  <p>Any help is appreciated. Thanks in advance.</p>