License: MIT
Works with **python 3
Installation:
- pip install -r requirements.txt
- python nopic.py
- browse http://127.0.0.1:5000/
Usage:
- http://127.0.0.1:5000/470 - create square
- http://127.0.0.1:5000/470x220 - create rectangle
- http://127.0.0.1:5000/470x220/F5F3DC - set background color
- http://127.0.0.1:5000/470x220/F5F3DC/454445 - set background and text color
- http://127.0.0.1:5000/470x220?size=24 - set font size
- [http://127.0.0.1:5000/470x220?text=some cool text\n\n:)](http://127.0.0.1:5000/470x220?text=some cool text\n\n:)) - set display text
- http://127.0.0.1:5000/470x220?font=inconsolata - set font
Available fonts:
- lobster - default font
- inconsolata - with Polish special chars
- miso
- miso-bold
You can try it online: