title: How to resize or change resolution of base64 image through manipulating the base64 code?
body: <p>There are lots of examples of encoding images to Base64. Is there a way of changing the size or resolution of that image by simply manipulating the actual base64 encoded content?</p>
  <p>Your base64 code might be:</p>
  <pre><code>iVBORw0KGgoAAAANSUhEUgAAAWQAAAFjCAIAAACFfObPAAAAA3NCSVQICAjb4U/gAAAgAE...
  </code></pre>
  <p>Is there an algorithm or equation that allows you to manipulate that Base64 string to change the size of the image or change the resolution?</p>
  <hr />
  <p>My question is aimed at people looking at progressive images, data manipulation, and WebP formats, which is a lossless and lossy compression of images.</p>
  <p>I am not interested in creating Canvas elements and manipulating the contents of the canvas. I am interested in an approach that can be used either on the client or server and can be sent via HTTP or socket communication.</p>