title: Can I convert PDF blob to image using Python and Wand?
body: <p>I'm trying to convert a PDF's first page to an image. However, the PDF is coming straight from the database in a base64 format. I then convert it to a blob. I want to know if it's possible to convert the first page of the PDF to an image within my Python code. </p>
  
  <p>I'm familiar with being able to use filename in the Image object:</p>
  
  <pre><code>Image(filename="test.pdf[0]") as img:
  </code></pre>
  
  <p>The issue I'm facing is there is not an actual filename, just a blob. This is what I have so far, any suggestions would be appreciated.</p>
  
  <pre><code>x = object['file']
  fileBlob = base64.b64decode('x')
  with Image(**what do I put here for pdf blob?**) as img:
      more code
  </code></pre>