command
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Aug 27, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
watermark 证件加水印
使用步骤
-
将需要添加水印的图片复制到当前目录. 例如 "src.png"
-
用文本编辑器打开 config.yml, 修改base_image_path的值
# 照片地址
base_image_path: "./src.png"
# 水印文字
text: "仅限用于办理护照"
# 字体 默认为宋体
font_path: "./SIMKAI.TTF"
# 字体大小
font_size: 14
# 保存图片地址
save_path: "./result.png"
-
运行 watermark 即可
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.