Generate random but beautiful gradients in a super simple way.
Project description
Gradient Generator
Generate random but beautiful gradients in a super simple way.
Demo
You can check out more examples here
Features
- Super simple usage
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 Distributions
Close
Hashes for gradient_generator-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c178a260ddce24d7a36c8242c00e59eab484b903b15584e9b46a00a13c0c4b07 |
|
MD5 | 3e9eaa18d5519c90f4cf85d0ba1b4029 |
|
BLAKE2b-256 | 09a85a2f59f0ec2331e2b04f92de1daa213d493203182ad587c984e6c4c8dd44 |
Close
Hashes for gradient_generator-0.1.1-2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 816fbaac3702149fae859f3cee827a201e0aeb1d1ce0a6c2f2c3ef0a54194c65 |
|
MD5 | 04c994dfcd796488c57f62a0246974b5 |
|
BLAKE2b-256 | f651baa3082d9ed715176106e43cd6042bb28ec4fe0897144cdf6ff4f3b4eb32 |