I've been developing an Android app which takes picture and save it. And I want make the upload speed more faster by compressing the image. But as I compressed them using BitmapCompress
, the image seems lost its quality. Here :
RAW :
COMPRESSED :
BEFORE : DIMENSION - 1920X1920 FILE SIZE - 2.94MB
AFTER : DIMENSION - 960X960 FILE SIZE - 644KB
I wonder if there's a way, a library perhaps that will solve my problem? Instagram seems to be doing this compression stuff without losing the image quality.
Compressing will always lead to decreased quality in the one or the other way.
Here is what you could do: