blec: alpha blending calculator
This is a tool to calculate a resulting color of the alpha blending process. A gamma correction is enabled and the default transfer function is the one defined in sRGB.
Usage
Just enumerate colors from the bottom to the top. Let's blend 75% black on pure white
blec white black:0.75
blec fff 000000bf
blec ffffffff [0,0,0,191]
blec ffffff:1 [0,0,0]:0.75
Every call above does the same thing
Installation
pip3 install blec
Metadata
Release files for blec 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blec-1.2.0.tar.gz | 5.3 kB | Without provenance | Details for blec-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blec-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for blec-1.2.0-py3-none-any.whl |
Total release size: 11.4 kB
Release files / blec-1.2.0.tar.gz
| Download URL | blec-1.2.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
664eeffa6246089b6d510099110e49daaaeb5a3eeb981e12c6b0beb0af725237
|
|
BLAKE2b-256 checksum How to use checksums |
1a29fded852a2fa08d23719b9c694c687b1f59dec13fc0189f0a78a43f66e33d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
|
Release files / blec-1.2.0-py3-none-any.whl
| Download URL | blec-1.2.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7617d34da30cd3a78b9d914925b0b5b47123fcf00e966839d9421cc4acf3d342
|
|
BLAKE2b-256 checksum How to use checksums |
8c453a270e29b23d4cf0ed3cb6ebb50acde70c0899b02d820e9eff96027dcc5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
|
Security for blec 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.