title: how to compress a base64 image to custom size
body: <p>I send/receive my image by using base64.
  I have a base64 string and I want to compress it to my size.</p>
  
  <p>for example I want to reduce photo size to 100kb. </p>
  
  <p>Is it possible?</p>