I'm using ng-img-crop for cropping an image before uploading to server. The crop image is a base64 string, but the server accept only multipart form data. So what are my options to convert it? Thanks in advance..
Asked
Active
Viewed 4,821 times
2
-
[Convert Data URI to File then append to FormData](http://stackoverflow.com/questions/4998908/convert-data-uri-to-file-then-append-to-formdata) The answer in above question works. – Midhun Darvin Dec 10 '15 at 03:59
-
Thanks for the link... :) – Rajesh Dan Dec 10 '15 at 04:24