title: Resize a Base-64 image in JavaScript without using canvas
body: <p>I need a way to resize pictures in JavaScript without using an HTML element.</p>
  <p>My mobile HTML app capture photos and then converts them into base64 strings. Finally I want to resize them before they are sent to the API.</p>
  <p>I'm looking for a different and more suitable way to resize than using a canvas element, is there a way?</p>