What i do :
I use @ionic-native/camera to get images from device.
What i want :
I want to resize/scale image on client, before send it to server.
But camer.getPicture() function return string which define a path to image in my photo library/albums.
I know about cameraOptions and targetWidth/Height properties. But it useles for my situation, because there can be images with different width and height, so i can`t set all them one size.
Is there some way to change image size/scale if i have link to image, maybe someone knows some plugin , that can fetch image by link and change it based on current image size?