ECN>> bi>> 返回
项目作者: patrickmcnamara

项目描述 :
Bad Image format. ".bi".
高级语言: Go
项目地址: git://github.com/patrickmcnamara/bi.git
创建时间: 2021-01-05T19:33:19Z
项目社区:https://github.com/patrickmcnamara/bi

开源协议:MIT License

下载


Bad Image (.bi)

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:

  1. bi,v1
  2. red,green
  3. blue,white

Examples


Before BI encoding.

Before BI encoding.


After BI encoding using the CSS Color Module Level 4 color model. And re-encoded as PNG obvs.

After BI encoding using the CSS Color Module Level 4 color model. And re-encoded as PNG obvs.


License

This project is licensed under the MIT license.