title: Display image of PNG binary that is stored in MongoDB
body: <p>I have a mongodb collection that looks something like  this:</p>
  
  <pre><code>{
   u'_id': u'someid',
   u'files': {u'screenshot': Binary('\x89PNG\r\n\x1a\n\...', 0)}
  }
  </code></pre>
  
  <p>The screenshot is in a binary format and I would like to display it. 
  How would I do this in python?</p>
  
  <p>I've setup a connection to the database with pymongo but I have no idea how I can decode the bytestream. Bear in mind that I did not create this database, I only have access to it.</p>