Author: Eric Latham
Email: ericoliverlatham@gmail.com
This project provides the functionality to generate high quality, bicolor, social-media-friendly text graphics in a simple Flask/JavaScript webapp.
With the help of PDM and Make, managing and working within this repo are very simple.
- clone the repo and
cd
into it - run the command
make setup
to create a PDM environment with all the required Python packages installed
- run the command
make test
to start the Flask app (app.py) in development mode - open a browser and go to http://localhost:5000/
- contains text-processing functions to check input validity, format input, and apply automatic text-wrapping to input
- assumes all image variables and parameters are either PIL Images or Numpy arrays of the RGB color model
- is somewhat customizable if you want to change watermark files, adjust text settings, or add color templates