Module used to generate an avatar image (Identicon) based on the string provided
If available in Hex, the package can be installed
by adding identicon
to your list of dependencies in mix.exs
:
def deps do
[
{:identicon, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/identicon.
iex(1)> Identicon.main("banana")
:ok
This will generate a .png file (banana.png) with the Identicon generated.