zetbaitsu / Compressor

An android image compression library.
7.04k stars 962 forks source link

compress image size larger than actual size #87

Open FatmaMM opened 6 years ago

FatmaMM commented 6 years ago

I choose an image with small size ex.157.8 KB the compressed image size became 158.6 KB why ??

Duna commented 6 years ago

Because it is already compressed

FatmaMM commented 6 years ago

why the size larger than the actual ??

ChrisLahaye commented 6 years ago

@FatmaMM almost all compression algorithms don't work well with already compressed data. For example text compression is often skipped for less than 1000 bytes, because in these cases the compression ratio is not justifable for the computation time, or in your case even negative.

songsongtao commented 6 years ago

Bitmap.Config.ARGB_4444 Bitmap.Config.ARGB_8888 so