bi
is a library for the BI image format.
The BI format encodes images so that they are essentially 2D matrices of plaintext color names such as those found in the CSS Color Module Level 4 or hex quadruplets like #FF69B4FF
.
There is also support for third party color models.
Nice.
For example, a valid 2x2 pixel image is:
bi,v1
red,green
blue,white
Before BI encoding.
After BI encoding using the CSS Color Module Level 4 color model. And re-encoded as PNG obvs.
This project is licensed under the MIT license.