Runtime PNG compression library. Creates 8 bit grayscale PNG binaries from scanline lists.
config = Sesopenko.PNG.Config.get(3, 3)
image_with_white_corners = [
[254, 0, 254],
[0, 0, 0],
[254, 0, 254]
]
binary_data = Sesopenko.PNG.create(config, image_with_white_corners)
If available in Hex, the package can be installed
by adding sesopenko
to your list of dependencies in mix.exs
:
def deps do
[
{:sesopenko_png, "~> 1.0.4"}
]
end
- 8 bit grayscale
- Extarcting PNG Chunks with Go, Hackerman's hacking tools
- PNG Specifications, libpng.org
- Portable Network Graphics, Wikipedia
- ACII Table and Description, Asciitable.com
This is licensed GNU GPL v3 and is described in LICENSE.txt.