sesopenko_png v1.0.3 Sesopenko.PNG
Generates PNG bitstrings.
Link to this section Summary
Functions
Creates a PNG for a given config and scan_lines.
Produces a reference single red pixel image.
Link to this section Functions
Link to this function
create(config, scan_lines)
Creates a PNG for a given config and scan_lines.
Sesopenko.PNG.Config.get/2
simplifies config building.
Example scanlines for a black box with white corners:
image_with_white_corners = [
[254, 0, 254],
[0, 0, 0],
[254, 0, 254]
]
Link to this function
reference_image()
Produces a reference single red pixel image.
See https://en.wikipedia.org/wiki/Portable_Network_Graphics#File_header