When I upload an image from a mobile device you have two options:
- reduce the size on the device and upload the result
- upload the full image and reduce the size on the server
Which one is better?
When I upload an image from a mobile device you have two options:
Which one is better?
For the user experience, it is better to do all the work you can server-side, minimising the processing time and the transfer time.
I would recommend doing all the work on image on the server if you want the application to be fast, and if the transformation make the image heavier.
Now you may have problem in the future if you have mutliple upload in the same time with a low performance server. If it is the case, choose to do the work on device to devide the work on each device.
I think The "1" is best,because This way of consuming less flow;this option is very important for android app