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

Stitcher is a command-line utility for joining Messenger conversation screenshots.

Installation

$ pip install stitcher

Usage

General usage:

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

Combine IMG_0001.PNG and IMG_0002.PNG taken on an iPhone 5S, saving the result to composition.png:

$ stitch IPHONE_5S composition.png IMG_0001.PNG IMG_0002.PNG IMG_0003.PNG

Combine all .png files in the present working directory using the profile for LG’s G3 phone, outputting to combined.png:

$ stitch LG_G3 combined.png *.png

Profiles

Profiles define parameters used by Stitcher to join images. They are stored within the profiles directory, organised by device manufacturer. The following options can be specified:

Name

Description

Default

mode

The image format

RGBA

header_height

The number of pixels of vertical height to crop from the top of the image

Required

footer_height

The number of pixels of vertical height to crop from the bottom of the image

Same as header_height

additional_message_gap

The vertical spacing between messages from the same sender

Required

reply_message_gap

The vertical spacing between two messages sent by different participants

Same as additional_message_gap

If you’d like to add a missing a profile for your device, create a new file if necessary, and add a dictionary with the device’s details. Please consider contributing it in a pull request so others may benefit!

Release files for stitcher 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stitcher 1.0.0
File Size Uploaded
stitcher-1.0.0.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stitcher 1.0.0
File Interpreter ABI Platform
stitcher-1.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 26.3 kB

Release files / stitcher-1.0.0.tar.gz

Download URL stitcher-1.0.0.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1660ed2053f21802e09ac0a71616559e3d2a824469d8aa2a8d8973b35dab71c1
BLAKE2b-256 checksum
How to use checksums
654ee204e83223cc654996c552897a5d04a4ce3369edfa1f5caf38dc0610ebc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / stitcher-1.0.0-py2.py3-none-any.whl

Download URL stitcher-1.0.0-py2.py3-none-any.whl
Size 15.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0c0a4469543ebbaf2af2012d68b34b37e55eb04338364224b27bc90ad62e5605
BLAKE2b-256 checksum
How to use checksums
c671903218cc2b80ee64e5a489a496214906416143323085fc6ee8cd5a749df3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page