Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

stamp

自动打水印工具。

自动使用Python为图片、视屏“P”上水印。

使用

python stamp.py input.png output.png --stamp "yourtext"
python stamp.py input.mp4 output.mp4 --stamp "yourtext"
python stamp.py input.png output.png --stamp "yourtext" --font-size 32pt --margin 32pt --rotation 45 --color "#FFFFFF"

获取帮助

python stamp.py --help

依赖

  1. Python3,任意在维护生命周期中的版本。
  2. Python环境需要安装PIL。
  3. 如果需要为视频加水印,需要环境变量中有 ffmpeg 命令可用,本质上是使用PIL生成图片,然后叠加到视频上。

About

自动打水印工具。

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages