pip install -r requirements.txt
from gh_avatars import Avatar
ava = Avatar()
image = ava.generate()
image.save('file.png', 'PNG')
from gh_avatars import Avatar
ava = Avatar(
background='#f2f1f2', # HEX-color string only
resolution=7, # Width of a cell in pixels
size=350 # Size of rendered image in pixels
)
image = ava.generate(
nick='codedragon2002',
color='#084C61' # HEX-color string only
)
image.save('codedragon2002.png', 'PNG')