A python script to create personalized SVGs and PNGs based on SVG and PNG templates.
- Clone the repo, use
pip3 install requirements.txt, and run the script (python 3) with thecontacts.xls, pictures, and templates (for SVG and PNG) in place. - For any new templates, you might need to adjust the
draw_textparametres based on your design. By default, texts are centre aligned. - The script uses PIL's thumbnail method to resize the second image. The default size is
1920 × 1080.
- In the
Imagecolumn of thecontacts.xlssheet, do not include the file extension. - Allowed image formats - Jpeg and PNG.