title: Transform local img into Base64 string
body: <p>I have an img in my project (/Content/Img/myPic.png) and i need to transform it into base 64 and save it in a string variable.</p>
  
  <p>Something like:</p>
  
  <pre><code>let myFile = File("/Content/Img/myPic.png");
  let fileBase64 = Base64Transformer(myFile);
  </code></pre>
  
  <p>I don't know how to access my file, and what to use to transform it.
  Any idea?</p>