barlix v0.3.0 Barlix.PNG

This module implements the PNG renderer.

Summary

Functions

Renders the given code in png image format

Functions

print(arg, options)
print(Barlix.code, Keyword.t) :: :ok

Renders the given code in png image format.

Options

  • :file - (path) - target file path.
  • :xdim - (integer) - width of a single bar in pixels. Defaults to 1.
  • :height - (integer) - height of the bar in pixels. Defaults to 100.
  • :margin - (integer) - margin size in pixels. Defaults to 10.