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.
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
void imageUploader( byte[] image);
I have no idea how to feed that method the javaScript resize output...