- from the command line: "pip install image"
- cards should be 1080x1920
- design however you want as long as you have enough room for bango squares
- you may want to design the cards so that the round number is written on them -- if you want to do 4 rounds, make 4 different blank cards
- example card: https://imgur.com/a/yqT8805 (or scroll down to the bottom of the instructions)
- move emojis to a single folder and convert to 128x128 PNGs with colored background and padding: https://bulkresizephotos.com/en
- separate emojis into folders for each round
- you need at least 25 emojis per round
- the folder structure should look something like this:
\bango\bango.py
\bango\images\
\bango\images\background\
\bango\images\squares\
\bango\result\
- bango.py is the python script
- the \images\background\ folder is where you put the blank cards
- replace the image in the background folder for each round
- the \images\squares\ folder is where you put the emojis (at least 25 per round)
- replace the emojis in the squares folder for each round
- the \result\ folder is where the cards will be saved
-
edit output filename in bango.py:
- edit the filename with the format "BangoTitle-R#C{}.png":
result.save( outImages + 'FuckoBango-R1C{}.png'.format(cardNum), "PNG")
- the script will output starting from FuckoBango-R1C0.png
- make sure to change this per round
-
edit number of cards in bango.py:
nbCards = 1
- do a test run with 1 card before creating hundreds
- edit pixel offset in bango.py:
y_offset = -145
x_offset = 10
- if you need to align the emojis, adjust this pixel offset.
- cards will be in the results folder