varia.website/plugins/pelican_comment_system/identicon/README.md

17 lines
404 B
Markdown
Raw Normal View History

2018-02-01 14:46:15 +01:00
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`.