View Source Abatap (abatap v0.1.0)

Generate a basic PNG avatar from first name and last name. Largely based on https://github.com/zhangsoledad/alchemic_avatar and code by Sergio Tapia.

Link to this section Summary

Functions

Generates an image using first name and last name of a user using imagemagick's convert command line tool.

Link to this section Functions

Link to this function

create_from_initials(first_name, last_name, options \\ [])

View Source

Generates an image using first name and last name of a user using imagemagick's convert command line tool.

This function was cribbed from Sergio Tapia (https://sergiotapia.com/)

https://elixirforum.com/t/generate-images-with-name-initials-using-elixir-and-imagemagick/12668

options: [palette: :google, appearance: :light, size: 512]