Excon.ident

You're seeing just the function ident, go back to Excon module for more information.

Create an indenticon from an identifying string.

Options

  • type: :png or :svg (default: :png)
  • filename: a string for the file name (default: nil, image data is returned)
  • magnification: how many times to magnify the 8x8 pattern (default: 4)
  • base64: should output be base64 encoded (default: false, filename overrides)

Examples

iex> Excon.ident("ExCon", base64: true)
"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAADFBMVEXwwNjmqNT62dn/0tL9+OiNAAAAAklEQVR4nGKkkSsAAABBSURBVGNghAJmIGCCAhAbJs5ABwUwDkiCAQpAbJgmeiiAM4AA7jAggGmklwKYJCygkMVGkoKBjovBkiZhnAHKmwBcxQWBMC75hwAAAABJRU5ErkJggg=="

iex> Excon.ident("ExCon", filename: "excon")
:ok