yeargin/defaultprofileimagecreator

Creates a profile image with a set of user initials in it.

v1.0.0 2020-04-25 23:25 UTC

This package is auto-updated.

Last update: 2024-12-26 16:23:07 UTC


README

1 2 3

This allows you to create a PNG image using a user's initials on a circle, with the color set by a provided string (e.g. a User ID or their full name) to better differentiate between users. It is an improvement on the typical "mystery man" approach.

  • Flexible implementation allows you to write to a cache or render inline
  • Font color adjusts for readability on a particular background

See Documentation for usage instructions.