title: Android - Reduce image file size before upload to server with Base64
body: <p>I'm trying to reduce the file size from gallery before upload to the server with base64. I've tried ALL the suggestions from stackoverflow &amp; elsewhere I've found on the internet without success.</p>
  
  <p>For images > 2MB, they seem to be reduced in size once written on the server (down to ~500KB). However, for images &lt; 500KB they seem to be bigger than original file size once decoded and written on the server (again ~500KB). It seems like there's threshold that base64 can't get lower beyond). Is it true? Any other way I can reduce the image file size and upload to server programmatically?</p>