加入Messenger对话截图。
stitcher的Python项目详细描述
Stitcher是一个命令行实用程序,用于加入Messenger对话截图。
安装
$ pip install stitcher
用法
一般用法:
$ stitch <profile> <outfile> <images>...
将iphone 5s上的IMG_0001.PNG和IMG_0002.PNG合并,将结果保存到composition.png:
$ stitch IPHONE_5S composition.png IMG_0001.PNG IMG_0002.PNG IMG_0003.PNG
使用LG G3手机的配置文件组合当前工作目录中的所有.png文件,输出到combined.png:
$ stitch LG_G3 combined.png *.png
配置文件
轮廓定义缝合器用于连接图像的参数。它们存储在profiles目录中,由设备制造商组织。 可以指定以下选项:
Name | Description | Default |
---|---|---|
^{tt7}$ | The image format | RGBA |
^{tt8}$ | The number of pixels of vertical height to crop from the top of the image | Required |
^{tt9}$ | The number of pixels of vertical height to crop from the bottom of the image | Same as ^{tt8}$ |
^{tt11}$ | The vertical spacing between messages from the same sender | Required |
^{tt12}$ | The vertical spacing between two messages sent by different participants | Same as ^{tt11}$ |
如果要为设备添加丢失的配置文件,请在必要时创建新文件,然后添加包含设备详细信息的字典。拜托 考虑在拉取请求中贡献它,这样其他人可能会受益!