Patrick Cloke f353b72361 [pelican_comment_system] pep8-ify 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 f353b72361 [pelican_comment_system] pep8-ify 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.