I'm using nativescrip-background-http
plugin to upload images to a remote server.
The idea is that I use nativescript-imagepicker
plugin to select the image, save it to a folder using saveToFile
then upload it.
saveToFile works well with smaller files but there's a lug when the file size is big. Is there a way to reduce file size before saving it?