Sorry if this has been addressed before, I tried to search but could not find anything.
I need to upload images to a web application. The image is selected using the image picker. I can get the raw image data with maGetImageSize(), maGetImageData(), encode it with base64 and pass it on, however, the data is huge, especially for a mobile application.
Is there any way I could compress the data in PNG or JPEG? Or, better yet, is there a way I can access the original, compressed file data when using the image picker?
Edit: The app runs on Android and iOS devices.