title: convert an image to a decimal value [Python]
body: <p>I'm using opencv with python, and I want to convert an image to a decimal value to store it in a text document.</p>
  
  <p>I tried to use b64encode, but it returns str or string value, but I want a decimal value.</p>
  
  <p>Thank you in advance for your help :)</p>