Add text captions (top and bottom) to images using command line
Bog post: http://blog.lipsumarium.com/caption-memes-in-python/
- Clone this repository
cd
into the repo directory- Run
python meme.py images/Success-Kid.jpg "Top text here" "Bottom text here" out.jpg
This should create a out.jpg
image with your caption.
python meme.py <imageFilePath> "<topCaption>" "<bottomCaption>" <outputFile>
Example:
python meme.py images/i-dont-always.jpg "i don't always make memes" "but when i do I use python" out.jpg