Skip to main content

A powerful program for stitching and cutting webtoons/manhwa/manhua raws.

Project description

Stitch Toon

A powerful package for stitching and cutting webtoons/manhwa/manhua raws.

Install

Via Pip

pip install stitchtoon

Install from source

git clone https://github.com/BishrGhalil/stitchtoon
cd stitchtoon
pip instal --user requirements.txt
pip install .

Basic usage

stitchtoon -i <input-path> -s <split-height> -o <output-path>

Options

usage: stitchtoon [-h] [-V] -i INPUT -o OUTPUT -s SIZE
                  [-t {png,jpeg,jpg,webp,psb,psd}] [-r] [-a] [-p]
                  [-w {none,auto}] [-d {none,pixel}] [-e [0-100]] [-q [1-100]]
                  [-g IGNORABLE_PIXELS] [-l [1-100]]

options:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  -i INPUT, --input INPUT
                        Sets the path of Input Folder
  -o OUTPUT, --output OUTPUT
                        Saves at specified output path
  -s SIZE, --size SIZE  Sets the value of the Rough Panel Height And Width,
                        hXw
  -t {png,jpeg,jpg,webp,psb,psd}, --type {png,jpeg,jpg,webp,psb,psd}
                        Sets the type/format of the Output Image Files
  -r, --recursive
  -a, --as-archive
  -p, --progress        Shows a progress bar

Advanced:
  -w {none,auto}, --width-enforcement {none,auto}
                        Width Enforcement Technique, Default=None)
  -d {none,pixel}, --detection-type {none,pixel}
                        Sets the type of Slice Location Detection,
                        Default=pixel (Pixel Comparison)
  -e [0-100], --sensitivity [0-100]
                        Sets the Object Detection Senstivity Percentage,
                        Default=90 (10 percent tolerance)
  -q [1-100], --quality [1-100]
                        Sets the quality of lossy file types like .jpg if
                        used, Default=100 (100 percent)
  -g IGNORABLE_PIXELS, --ingorable_pixels IGNORABLE_PIXELS
                        Sets the value of Ignorable Border Pixels, Default=5
                        (5px)
  -l [1-100], --line-steps [1-100]
                        Sets the value of Scan Line Step, Default=5 (5px)

All thanks to MechTechnology for creating SmartStitch which is the base of this package.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stitchtoon-1.1.0.tar.gz (2.3 MB view hashes)

Uploaded Source

Built Distribution

stitchtoon-1.1.0-py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page