title: Resize image on client before uploading
body: <p>I'm trying to upload a photo to my ASP.net website via Iphone 6s. As you can probably guess the file size is way to big and therefore the upload takes way to long. My program can already resize the file before storage but this is on the server side and therefor not a solution to my problem.  </p>
  
  <p>I would like to resize the image with JavaScript on the client. But then i have to upload the image to the server and the C# method that douse this looks like this </p>
  
  <pre><code>void imageUploader( byte[] image);
  </code></pre>
  
  <p>I have no idea how to feed that method the javaScript resize output...</p>