Skip to content

mgibas/avatarator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avatarator

Just simple .Net avatar generator :)

NuGet

Install-Package Avatarator

Features

  • generate abbreviation/initial avatar

Usages

var config = new AvataratorConfig();
var generator = new AbbreviationGenerator(config);
var image = generator.Generate("my name", 100, 100);

Changing background colors set (default are pretty nice though :) ):

var myColors = new []{ Color.AliceBlue, Color.Aquamarine };
var config = new AvataratorConfig().WithBackgroundColors(myColors);

Of course You probably use some IoC - no problem :) Just bind IAvataratorConfig and IGenerateAvatar :)

Contribute

Maybe You have an idea for other avatar generator - do no hesitate - please send me some pull request :)

About

.Net Avatar Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages