Bernhard Scheirle 02a4645912 [pelican_comment_system] made python3 compatible 10 years ago
..
LICENSE 98e2f16059 [pelican_comment_system] Added Avatars and Identicons 10 years ago
README.md 98e2f16059 [pelican_comment_system] Added Avatars and Identicons 10 years ago
__init__.py 98e2f16059 [pelican_comment_system] Added Avatars and Identicons 10 years ago
identicon.py 02a4645912 [pelican_comment_system] made python3 compatible 10 years ago

README.md

identicon.py: identicon python implementation.

:Author:Shin Adachi shn@glucose.jp

usage

commandline

python identicon.py [code]

python

import identicon
identicon.render_identicon(code, size)

Return a PIL Image class instance which have generated identicon image. size specifies patch size. Generated image size is 3 * size.