title: Converting an image to binary in javascript using base64
body: <p>I have to convert an image to binary for storing it through IPFS and retrieve it again as a viewable image.</p>
  
  <p>I should do this with javascript code. Does any body have any clear example of how to do this? Will Base64 help me?</p>
  
  <p>Thanks in advance</p>