Skip to content

The photo cannot extract black. #100

@chengkaizone

Description

@chengkaizone

I plan to extract the color of an album image and it works fine, but the black part never returns the correct color value
Set the picture code as follows:
val bitmap = BitmapFactory.decodeFile(path)
if (bitmap != null) {
val drawable: Drawable = BitmapDrawable(resources, bitmap)
colorPickerView.setPaletteDrawable(drawable)
}

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