AvatadorAvatador

Avatador

Homepage | Docs | Github

Super simple avatar generator in Elixir.

Options

Defaults

%{
  format: "SVG"
  background: "#000000",
  color: "#FFFFFF",
  name: "",
  is_rounded: false,
  rounded: 0.0,
  width: 500.0,
  height: 500.0,
  font_size: 250.0,
  font_family: "Montserrat",
  caps: 1,
  bold: true,
}

Supports

Installation

The package can be installed by adding avatador to your list of dependencies in mix.exs. If you want PNG support for the identicons, you will also need to add :egd.

def deps do
  [
    {:avatador, "~> 0.1.0"},
    {:egd, github: "erlang/egd", optional: true}, # Erlang Graphic Drawer, for PNG export of identicons
  ]
end

Acknowledgements and Credits

Development