加入Messenger对话截图。

stitcher的Python项目详细描述


https://img.shields.io/pypi/status/stitcher.svghttps://img.shields.io/pypi/v/stitcher.svghttps://img.shields.io/pypi/pyversions/stitcher.svghttps://travis-ci.org/gebn/stitcher.svg?branch=masterhttps://coveralls.io/repos/github/gebn/stitcher/badge.svg?branch=masterhttps://landscape.io/github/gebn/stitcher/master/landscape.svg?style=flat

Stitcher是一个命令行实用程序,用于加入Messenger对话截图。

安装

$ pip install stitcher

用法

一般用法:

$ stitch <profile> <outfile> <images>...

将iphone 5s上的IMG_0001.PNGIMG_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目录中,由设备制造商组织。 可以指定以下选项:

NameDescriptionDefault
^{tt7}$The image formatRGBA
^{tt8}$The number of pixels of vertical height to crop from the top of the imageRequired
^{tt9}$The number of pixels of vertical height to crop from the bottom of the imageSame as ^{tt8}$
^{tt11}$The vertical spacing between messages from the same senderRequired
^{tt12}$The vertical spacing between two messages sent by different participantsSame as ^{tt11}$

如果要为设备添加丢失的配置文件,请在必要时创建新文件,然后添加包含设备详细信息的字典。拜托 考虑在拉取请求中贡献它,这样其他人可能会受益!

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
无JPA的纯Hibernate ORM java SpringBoot配置   安卓会生成一组唯一的java数字   java我的自定义阵列列表每次启动时都会崩溃我不确定为什么会一直崩溃   Java继承;将子类传递给超类的抽象方法   java从没有if语句的数组中获取instanceof type   java中使用对象的温度转换   存储库接口的JavaSpringDataMongoDBeanXML配置   java JAXWS为iBM websphere、iBM web服务客户端添加寻址   数组试图返回Java中两个对象的面积之和   apache Spark java:columnNameOfCorruptRecord和badRecordsPath在加载csv时不工作   java无法创建。txt文件   java Hibernate与MySQL插入查询不一致   不考虑java Hazelcast分布式地图的最大大小   bash Java如何在父进程中设置环境变量