Skip to content

innix/github-avatar-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Avatar Generator

A GitHub-esque avatar image generator written in Python.

Example 1 Example 2 Example 3 Example 4 Example 5 Example 6

Installation

  1. Install the Pillow package:

    pip install Pillow
    
  2. Clone repository.

Usage

An example script is provided to demonstrate usage. The example creates a single image and saves it to a file.

python example.py <canvas_size> <block_count> <output_filename>
Parameter Summary
canvas_size The size (width and height) of the image in pixels.
block_count The number of colored blocks to use in the image.
output_filename The output image file path.

For example:

$ python example.py 420 12 avatar_01.png

License

You may use GitHub Avatar Generator under the terms of the MIT License (see LICENSE).

About

A GitHub-esque avatar image generator written in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages