https://github.com/patrickmcnamara/bi
Bad Image format. ".bi".
https://github.com/patrickmcnamara/bi
image image-format plaintext
Last synced: 4 months ago
JSON representation
Bad Image format. ".bi".
- Host: GitHub
- URL: https://github.com/patrickmcnamara/bi
- Owner: patrickmcnamara
- License: mit
- Created: 2021-01-05T19:33:19.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-20T10:20:19.000Z (almost 5 years ago)
- Last Synced: 2024-06-20T22:34:48.994Z (almost 2 years ago)
- Topics: image, image-format, plaintext
- Language: Go
- Homepage:
- Size: 846 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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](https://www.w3.org/TR/css-color-4/#named-colors) 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
```
## Examples
---

Before BI encoding.
---

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.