A Minimalist wallpaper generator
Generates wallpapers such as:
Generated with:\
python -m color_wallpaper --color black --output example.png --formats empty HEX rgb --resolution 960x540 --scale 2
Direct generation: python ColorWallpaper.py --option[s]
-h
/--help
-o
/--output
PATH
out.png
-y
/--yes
--output
-c
/--color
COLOR
random
which picks random named color.random
-c2
/--color2
COLOR
inverted
which is the inverse of --color
.inverted
-d
/--display
NAME
--color
. Empty string disables the name row.--min-contrast
CONTRAST
--color
and --color2
, if --color2
is inverted
. Will raise if this can not be satisfied.1
--overlay-color
COLOR
--overlay-contrast
CONTRAST
1
-r
/--resolution
RESOLUTION
1920x1080
.-s
/--scale
SCALE
3
-f
/--formats
[FORMAT
...]
empty HEX rgb
COLOR
#Hex
: Three or six hexadecimal digits optionally starting with #
.R,G,B
: Three comma separated numbers in range 0-255.CONTRAST
RESOLUTION
x
or :
.FORMAT
hex
, rgb
, hsv
, hsl
, cmyk
empty
: Empty row.#hex
: hex
, but starting with #
#HEX
, HEX
: Like hex
, but uppercasepython -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
pre-commit install
python -m unittest discover