The microservice powering PhotoBox, a slimmed down version of DankMemer/imgen with some extra features. (transparent gifs, fit/contain images, other cropping functions)
- Python 3.x
- Redis (quickstart, db persistence)
- PostgresSQL (download & install)
git clone https://github.com/PhotoBoxPW/IMGSRV
cd IMGSRV
pip3 install -r requirements.txt
# pip3 install -r optional-requirements.txt
NOTE: Read the installation instructions for Pillow-SIMD before installing optional requirements.
python3 server.py
With pm2
pm2 start pm2.json