Skip to content

AnnyTerfect/gif_add_text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gif_add_text

Argument

  • gif
    • input gif file name
    • default: 'sorry.gif'
  • new_gif
    • output gif file name
    • default: 'new_sorry.gif'
  • text
    • text to add
    • default: '哈哈'
  • font
    • font to use
    • default: '微软雅黑.ttf'
  • newsize
    • resize or crop the gif
    • default: None
  • font_size
    • font size of the added text
    • default: 40
  • pos
    • where to add the text
    • default: (90, 20)
  • color
    • the color of the added text
    • default: (255, 255, 255)
  • time_start
    • when to add the text
    • default: 0

Usage

python gif_add_text.py [arguments]

About

add text to a gif using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages