Patrick Cloke f353b72361 [pelican_comment_system] pep8-ify 10 vuotta sitten
..
LICENSE 98e2f16059 [pelican_comment_system] Added Avatars and Identicons 10 vuotta sitten
README.md 98e2f16059 [pelican_comment_system] Added Avatars and Identicons 10 vuotta sitten
__init__.py 98e2f16059 [pelican_comment_system] Added Avatars and Identicons 10 vuotta sitten
identicon.py f353b72361 [pelican_comment_system] pep8-ify 10 vuotta sitten

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.