title: AttributeError: 'str' object has no attribute 'tostring'
body: <p>Trying to convert image to string....</p>
  
  <pre><code>import requests
  image = requests.get(image_url).content
  image.tostring()
  </code></pre>
  
  <p>I get the error:</p>
  
  <blockquote>
    <p>AttributeError: 'str' object has no attribute 'tostring'</p>
  </blockquote>
  
  <p>How do I turn this into something that Python understands as an image which I can then call tostring() on?</p>