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.
Lossy compression can significantly reduce file size, but it can also reduce image quality to the point of distortion, especially if the image is overly compressed. However, quality can be maintained when compression is carefully applied.
Compressing will always lead to decreased quality in the one or the other way.
Here is what you could do:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With