title: Image to binary string
body: <p>I need this for a scriptUI panel I am working on. I am trying to add a custom image button and the image to be part of the jsx file.
  Does somebody know how this kind binary string is achieved, and how do I turn a png file to string of that type '\u0089PNG....' (is it initially Base64 encoded and then another encoding, or is it an encoded Byte array):</p>
  
  <p><a href="http://i.imgur.com/n2wpdmQ.png" rel="nofollow">http://i.imgur.com/n2wpdmQ.png</a></p>
  
  <p>Thanks in advance!</p>