mIRC art editor & tools (for EFnet #MiRCART)
Go to file
Lucio Andrés Illanes Albornoz 6fcf0e0a4f IrcClient.py:IrcClient.{queue,unqueue}(): split.
IrcMiRCARTBot.py:IrcMiRCARTBot._dispatch{001,Ping,Privmsg,Timer}(): replace readline() calls w/ queue() calls.
IrcMiRCARTBot.py:IrcMiRCARTBot.dispatch(): call unqueue() after processing timers and prior to calling readline().
2018-01-03 04:15:43 +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
IrcClient.py IrcClient.py:IrcClient.{queue,unqueue}(): split. 2018-01-03 04:15:43 +01:00
IrcMiRCARTBot.py IrcClient.py:IrcClient.{queue,unqueue}(): split. 2018-01-03 04:15:43 +01:00
MiRCART.py MiRCART.py:MiRCART._parseAsChar(): derive rectangle & line coordinates and outCur{X,Y} offset from outImgFontSize[{0,1}]. 2018-01-03 03:52:41 +01:00
README.md IrcClient.py: split from IrcMiRCARTBot.py. 2018-01-03 02:33:12 +01:00

README.md

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

  • Prerequisites: python3 && python3-pil (&& python3-{json,requests,urllib3} for IrcMiRCARTBot.py) on Debian-family Linux distributions
  • IrcMiRCARTBot.py usage: IrcMiRCARTBot.py <IRC server hostname> [<IRC server port; defaults to 6667>] [<IRC bot nick name; defaults to pngbot>] [<IRC bot user name; defaults to pngbot>] [<IRC bot real name; defaults to pngbot>] [<IRC bot channel name; defaults to #MiRCART>]
  • MiRCART.py usage: MiRCART.py <MiRCART input file pathname> <PNG image output file pathname> [<Font file pathname; defaults to DejaVuSansMono.ttf>] [<Font size; defaults to 11>]