In my app I'm taking a photo for proof of delivery. I want to submit the photo to our backend, but before submitting, I'd like to resize the image.
I've noticed that when using the builtin options, my resized and compressed image is larger then the original one.
These settings result in an image of 464955 bytes
While these settings result in an images of 518083 bytes
It's even bigger. Might not be the exact same image, but I'd be expecting a much smaller file. I also don't see the resolution change.
Or am I looking at the wrong value?
After resizing, I want to convert the file to a base64 string, which is working fine using
utils.getDataByObjectURL(imageInput1.value[0])