title: How do I get the color depth and/or the resolution from a byte string in Python?
body: <p>^ As above. Is this possible?</p>
  
  <p>I'm using a library to get image data from an mp3 and it returns the data as a byte string but to display the image I need to get the resolution and color depth. </p>
  
  <p>Ideally I would prefer a library written in Python without dependencies so as to make my app as portable as possible. </p>
  
  <p>If it's not too much trouble I would appreciate an example with the answer, thanks. </p>