I am trying to take a picture and then upload after cropping it.
Using TaifunImage I first rotate (because I cannot figure out why the image got rotated in the first place) it and then convert to base64 (as I cannot figure out why the upload is not working -- I got around that by converting to base64 and uploading that and then using a local script on the server to convert it back to jpg.
The image after cropping is 2268x2268 but when I finally save it using the .ImageToBase64 it comes out to be 567x567. It is 4x smaller in both dimensions.
Question... What or why is the image reduced in size. I was hoping to have have 1000x1000 as my output.
Thank you
Shekhar