I am working on a project in which I need to store user profile images and show user images to them. I am using Google FireStore as database. I want to upload user image, but as we know their image size is too big, it can fill my storage very quickly, so I want to store image as like WhatsApp is doing.
Asked
Active
Viewed 6,508 times
0
-
use image compressor – Gaurav Jun 20 '19 at 12:58
2 Answers
3
For Image crop, I suggest UCrop Library
https://github.com/Yalantis/uCrop/issues
For Compres I suggest:
https://github.com/zetbaitsu/Compressor

Dhaval Solanki
- 4,589
- 1
- 23
- 39
1
UCrop is best but it provides you with its own default UI. You have to modify it.
For simplicity, I prefer
https://github.com/ArthurHub/Android-Image-Cropper
And if you want to crop in circle then use cropiwa
https://github.com/steelkiwi/cropiwa
For Compressing image, Compressor is best which is suggested by Dhaval.

Asif Patel
- 1,744
- 1
- 20
- 27