https://github.com/lnus/memegen
Python Library for easily generating dank memes
https://github.com/lnus/memegen
Last synced: about 1 year ago
JSON representation
Python Library for easily generating dank memes
- Host: GitHub
- URL: https://github.com/lnus/memegen
- Owner: lnus
- Created: 2016-08-22T18:52:35.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-05T18:39:21.000Z (about 9 years ago)
- Last Synced: 2025-02-14T22:39:48.315Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Memegen
Python module for easily generating dank memes.
# Documentation
This doesn't really need a documentation, just import it really.
### Example:
```python
from memegen import memeGen
m = memeGen()
m.generate("TOP", "BOTTOM", "IMAGEFILE")
```
# Kwargs
I've added kwarg support so now you can modify certain things, like:
thickness, font, text color, outline color, output file
### Example:
```python
m.generate("TOP", "BOTTOM", "IMAGEFILE", output="OUTPUTFILE", textcolor="white", stroke="black", thickness=3)
```
# Dependencies
PIL is the only dependency for this.
```pip
pip install Pillow
```