forked from varia/varia.website
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mb@mb
04c2824180
|
7 years ago | |
---|---|---|
.. | ||
LICENSE | 7 years ago | |
README.md | 7 years ago | |
__init__.py | 7 years ago | |
identicon.py | 7 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
.