Skip to content

A library to help you create programs with the selection of colors from wallpapers. Windows only! (Yet)

Notifications You must be signed in to change notification settings

Chipik0/Material

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Material

1. About
2. Quick Start

About

A library to help you create programs with the selection of colors from wallpapers. Windows only! (Yet)

An example of using Material: Creating a GUI.

Quick Start

How to get the most popular color from image?
import material

color = material.get_popular_color(path)
print(color)

# ---> (r, g, b)
How to get the most popular color from windows wallpaper?
import material

color = material.get_popular_color(material.get_wallpaper_path())
print(color)

# ---> (r, g, b)
How to get the several popular colors from windows wallpaper?
import material

color = material.get_popular_colors(material.get_wallpaper_path(), amount = 5)
print(color)

# ---> [[r, g, b], [r, g, b], [r, g, b]]

About

A library to help you create programs with the selection of colors from wallpapers. Windows only! (Yet)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages