Skip to content
/ png Public

Elixir library for creating png binaries from multi-dimensional data lists.

License

Notifications You must be signed in to change notification settings

sesopenko/png

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • 8 bit grayscale

References:

License

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

About

Elixir library for creating png binaries from multi-dimensional data lists.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages