mix linocut.view (Linocut v0.2.2)

Copy Markdown View Source

Draw pictures in this terminal: an Elixir script whose last expression is a FrenchCurve.Raster, a list of them, or a Linocut.Strip; a .png or .pic file; or a directory, every .png and .pic in it on one sheet in name order.

mix linocut.view examples/ship.exs
mix linocut.view priv/art
mix linocut.view priv/art/ship.png --protocol braille --columns 8

Options

  • --protocol — kitty, iterm2, sixel or braille. Default: detected
  • --columns — rasters per row on the sheet. Default 8
  • --scale — enlarge each raster by a whole factor first. Default 1