Skip to content

A way to filter out very light or dark colors #5

@EmilStenstrom

Description

@EmilStenstrom

I'm running colorgram on images of board games that I have. Many of them have a black or white box, which means the dominant color in many of the cases is just black. I would like to filter out those colors.

I see that you already calculate luma here: https://github.com/obskyr/colorgram.py/blob/master/colorgram/colorgram.py#L65 -- so what I'm asking for is way to filter out those with high or low luma.

Is this something that is a good fit for this library?

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