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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gradient-generator-0.1.1.tar.gz.
File metadata
- Download URL: gradient-generator-0.1.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3f07d4608f2f7d54410407b7429bb155df08f84faba4825170b25f55f3a6f8f
|
|
| MD5 |
a7ce96c63c6e1bf5187797fd433c0f87
|
|
| BLAKE2b-256 |
5388392ee96c94dd999a75631127551a9d9ece36b45f38cc810f07f776fa587e
|
File details
Details for the file gradient_generator-0.1.1-py3-none-any.whl.
File metadata
- Download URL: gradient_generator-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c178a260ddce24d7a36c8242c00e59eab484b903b15584e9b46a00a13c0c4b07
|
|
| MD5 |
3e9eaa18d5519c90f4cf85d0ba1b4029
|
|
| BLAKE2b-256 |
09a85a2f59f0ec2331e2b04f92de1daa213d493203182ad587c984e6c4c8dd44
|
File details
Details for the file gradient_generator-0.1.1-2-py3-none-any.whl.
File metadata
- Download URL: gradient_generator-0.1.1-2-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
816fbaac3702149fae859f3cee827a201e0aeb1d1ce0a6c2f2c3ef0a54194c65
|
|
| MD5 |
04c994dfcd796488c57f62a0246974b5
|
|
| BLAKE2b-256 |
f651baa3082d9ed715176106e43cd6042bb28ec4fe0897144cdf6ff4f3b4eb32
|