$ python3 -m pip install FluentGenerator
$ python3 -m pip install FluentGenerator --upgrade
from FluentGenerator import FluentImage
fluent = FluentImage(background="#white",
colors=10,
width=1000,
height=1000)
fluent.generate()
>>> /path/to/fluent/image
background
: str — Background color.colors
: int — Number of random colors.width
: int — Image width.height
: int — Height width.
external_storage
: Optional[bool] — Optional parameter, true if you need to upload image on TemporaryStorage (0x0.st etc)