Alpha blending calculator
Project description
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
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
blec-1.0.2.tar.gz
(3.9 kB
view hashes)
Built Distribution
blec-1.0.2-py3-none-any.whl
(5.7 kB
view hashes)