vivid_png v0.1.0 Vivid.PNG protocol

Turn a Vivid frame or shape into a PNG

Summary

Functions

Turn a frame or shape into a PNG file

Types

t()
t() :: term

Functions

to_png(shape, file)
to_png(Vivid.Shape.t | Vivid.Frame.t | Vivid.Buffer.t, Path.t) ::
  :ok |
  {:error, any}

Turn a frame or shape into a PNG file.