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

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.