Generate random but beautiful gradients in a super simple way.
Project description
Gradient Generator
Generate random but beautiful gradients in a super simple way.
Features
- Super simple API
Current limitations
- No way to choose colors
- PNG only
Installation
$ pip install gradient-generator
Usage
from gradient_generator import generate_gradient
image = generate_gradient(640, 480)
image
<_io.BytesIO object at 0x10ce70040>
with open('test.png', 'wb') as f:
f.write(image.getbuffer())
Support
If you need help or found a bug, consider opening an issue on the project.
Licence
The source code for this project is licensed under the MIT license, which you can find in the MIT-LICENSE.txt file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gradient_generator-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04aac1cd8a40fe57f2413fa6552237c0a86a7372610440b7cb6b61bf5e2ede1c |
|
MD5 | dc5d13085e0eaa18f0bb6cdb20b738b5 |
|
BLAKE2b-256 | dfca96323a159f145195f35456e18c3bf7366afcf7cff4c4c7c35d265fcaa877 |