title: convert image src data: into Uint8Array
body: <p>I want to use the (<a href="https://github.com/nodeca/pica" rel="nofollow">pica library</a>) for image resize, but it asks me for a Uint8Array and i only have an Image object with the </p>
  
  <pre><code>src = 'data:image/jpeg;base64,/9j/4AAQ...'
  </code></pre>
  
  <p>I have no idea how to turn this into a Uint8Array, any thoughts?<br>
  Thanks</p>