Skip to content

Poor image quality #93

@Dinosane2

Description

@Dinosane2

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions