title: How to POST a bitmap to a server using Retrofit/Android
body: <p>I'm trying to post a bitmap to a server using <code>Android</code> and <code>Retrofit</code>. </p>
  
  <p>Currently I know how to post a file, but I'd prefer to send a bitmap directly. </p>
  
  <p>This is because the user can pick any image off their device. I'd like to resize it to save bandwidth before it gets sent to the server and preferrably not have to load it, resize it, save it as a file to local storage then post the file. </p>
  
  <p>Anyone know how to post a bitmap from <code>Retrofit</code>?</p>