Skip to content

write text with custom font on animated gif (even rotated text!)

Notifications You must be signed in to change notification settings

rsharifnasab/text_on_gif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

add text to gif cli app

simple CLI application with python3 and pillow library for adding text on gif.

usage

pip3 install -r requirements.txt
python3 ./main.py -h #for help
python3 ./main.py -i inp.gif -o out.gif -t "my text" -f ./fonts/Caprice.ttf
  • read with -i from inp.gif
  • add text my text to gif
  • use ttf font with -f, there are some beautiful fonts in ./fonts dir.
  • write output with -o to out.gif

example

./main.py -t "good night my dear" -i gn.gif -o out.gif  -p "0.1,0,0.9,0.15" -c "240,10,150"  -f ./fonts/Cup\ and\ Talon.ttf

About

write text with custom font on animated gif (even rotated text!)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages