iFunny-Captions is a pack of scripts providing widely customizable GIF caption generation.
- ✔️ PNG Captions
- ✔️ GIF Captions
- ✔️ Local file support
- ✔️ GIF size reduction
- ✔️ Custom fonts support
- ✔️ Transparent GIF support
- ❌ Program Showcase (Broken Colab)
- ❌ Colab Notebook
- ✔️ Emoji support3
- ✔️ Automatic text wrap
1 - Please look at Custom Fonts section in wiki.
2 - Problems with wrap height might occur.
Programs:
Modules:
Pillow >= 5.1.0- Making imagesrequests >= 2.13- URL fetchingemoji >= 0.4.5- Text to emoji supportclipboard >= 0.0.4- Clipboard values handlingsty >= 0.0.4- Colored printscolour >= 0.1.5- Colored text values handlingunidecode- Text normalizationdistro >= 1.71 - Directory opening helperpyshortcuts >= 1.8- Shortcuts making
Packages (bold links are Windows static executable binaries):
FFmpeg >= 4.2.0- SincePIL.ImageSequence.Iteratormesses up the frames colors.Gifsicle >= 1.92-2- Check after 64-bit if possible! (Scale_Backoption)PNGQuant >= 2.14(optional)OxiPNG >= 5.0.1(optional)Python3-PIP1Python3-TK1
1 - Required on Linux
sudo apt-get install git python3-apt python3-pip python3-tk ffmpeg pngquant gifsicle
For non-Debian distros, use the equivalent package manager to install these dependencies.
- Clone the repository and move to its directory.
git clone http://github.com/Amirhan-Taipovjan-Greatest-I/iFunny-Captions cd iFunny-Captions - Install required modules by inputting
pip install -r requirements.txt - Allocate the required files to
PATHsystem environment variable. - Modify the parameters in the
Config.jsonfile. Its documentation can be found here. - Open shell script file named
Run. Supports positional arguments - typepython iFunny_Captions.pyw -hfor more. - Output should be in the
Imagesfolder.
This project was tested on:
| OS | Python Version |
|---|---|
| Windows 10 | 3.7.6 |
If there are problems, create an issue here.
Be sure to copy the raw image URL.
| Tenor | Giphy | Gfycat | Tumblr ( GIFV) |
ImgFlip | GifImage | BestAnimations | GifFinder | ReactionGIFs |
|---|---|---|---|---|---|---|---|---|
![]() |
![]() |
![]() |







