title: Android change image size before sending via HTTP
body: <p>My app is currently sending images from an Android device to a PHP script by converting the image into a bit array and then converting to base64. The base64 string is then sent in a HTTP request.</p>
  
  <p>The problem is that is the image is big (like the ones taken from android camera) then the transfer fails. What i want to do is change the image size before it goes through the conversion process.</p>
  
  <p>How can i do this? I've tried to google it but have had no luck so far.</p>