Sesopenko.PNG

Runtime PNG compression library. Creates 8 bit grayscale PNG binaries from scanline lists.

Example Usage

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)

Installation

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

Capabilities

References:

License

This is licensed GNU GPL v3 and is described in LICENSE.txt.