mIRC art editor & tools (for EFnet #MiRCART)
Go to file
Lucio Andrés Illanes Albornoz 75e8e5fdf0 pngbot.py:IrcMiRCARTBot.uploadToImgur(): split from dispatch().
pngbot.py:IrcMiRCARTBot.dispatch(): only os.remove() if target file exists.
2018-01-02 22:40:46 +01:00
.gitignore .gitignore: ignore __pycache__/. 2018-01-02 20:50:40 +01:00
DejaVuSansMono.ttf DejaVuSansMono.ttf: added to repository for convenience. 2018-01-02 16:59:35 +01:00
mirc2png.py mirc2png.py:MiRCART.__init__(): move defaults from main(). 2018-01-02 22:24:21 +01:00
pngbot.py pngbot.py:IrcMiRCARTBot.uploadToImgur(): split from dispatch(). 2018-01-02 22:40:46 +01:00
README.md README.md: add pngbot.py prerequisites. 2018-01-02 20:51:32 +01:00

mirc2png -- convert ASCII w/ mIRC control codes to monospaced PNG (for EFnet #MiRCART)

  • Prerequisites: python3 && python3-pil (&& python3-{json,requests,urllib3} for pngbot.py) on Debian-family Linux distributions
  • Usage: ./mirc2png.py <MiRCART input file pathname> <PNG image output file pathname> [<Font file pathname; defaults to DejaVuSansMono.ttf>] [<Font size; defaults to 11>]