Bernhard Scheirle 02a4645912 [pelican_comment_system] made python3 compatible %!s(int64=10) %!d(string=hai) anos
..
LICENSE 98e2f16059 [pelican_comment_system] Added Avatars and Identicons %!s(int64=10) %!d(string=hai) anos
README.md 98e2f16059 [pelican_comment_system] Added Avatars and Identicons %!s(int64=10) %!d(string=hai) anos
__init__.py 98e2f16059 [pelican_comment_system] Added Avatars and Identicons %!s(int64=10) %!d(string=hai) anos
identicon.py 02a4645912 [pelican_comment_system] made python3 compatible %!s(int64=10) %!d(string=hai) anos

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.