Bars generator
Project description
rectify
rectify
is a tiny package whose sole purpose of life is generating
randomized images with colorful bars on a single-color background. Making a
picture like the one on the top of this page is as simple as:
from rectify.image import generate, save
picture = generate(900, 30, background=(30, 30, 30), bars='neon')
picture.show()
save(picture, 'bars.png')
Or from the command line:
$ rectify -x 900 -y 30 -b '(30,30,30)' -r neon -o 'bars.png' --show
Full documentation is available at jenx.gitlab.io/rectify.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rectify-1.0.1.tar.gz
(8.0 kB
view hashes)
Built Distribution
rectify-1.0.1-py3-none-any.whl
(10.2 kB
view hashes)