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.
Release files for gradient-generator 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gradient-generator-0.1.1.tar.gz | 2.7 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gradient_generator-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
| gradient_generator-0.1.1-2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / gradient-generator-0.1.1.tar.gz
| Download URL | gradient-generator-0.1.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3f07d4608f2f7d54410407b7429bb155df08f84faba4825170b25f55f3a6f8f
|
|
BLAKE2b-256 checksum How to use checksums |
5388392ee96c94dd999a75631127551a9d9ece36b45f38cc810f07f776fa587e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / gradient_generator-0.1.1-py3-none-any.whl
| Download URL | gradient_generator-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c178a260ddce24d7a36c8242c00e59eab484b903b15584e9b46a00a13c0c4b07
|
|
BLAKE2b-256 checksum How to use checksums |
09a85a2f59f0ec2331e2b04f92de1daa213d493203182ad587c984e6c4c8dd44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / gradient_generator-0.1.1-2-py3-none-any.whl
| Download URL | gradient_generator-0.1.1-2-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
816fbaac3702149fae859f3cee827a201e0aeb1d1ce0a6c2f2c3ef0a54194c65
|
|
BLAKE2b-256 checksum How to use checksums |
f651baa3082d9ed715176106e43cd6042bb28ec4fe0897144cdf6ff4f3b4eb32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|