You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even without set .compress() or setting .compress(0) the image resulting looks like it WAS indeed compressed.
Digging I found out that this happens due to CompressionProvider.kt:172 which compress 10% of any jpg without had been instruct to !
There are any reason to this?
// Check file format
var format = Bitmap.CompressFormat.JPEG
var quality = 90
if (file.absolutePath.endsWith(".png")) {
format = Bitmap.CompressFormat.PNG
quality = 100
}
Kudos for the amazing library, anyway!
The text was updated successfully, but these errors were encountered:
Even without set .compress() or setting .compress(0) the image resulting looks like it WAS indeed compressed.
Digging I found out that this happens due to CompressionProvider.kt:172 which compress 10% of any jpg without had been instruct to !
There are any reason to this?
Kudos for the amazing library, anyway!
The text was updated successfully, but these errors were encountered: