Skip to content

Comics Splitter is a Python script that cut comic strip or manga page in panels. This allow the reader to have a better reading experience on small devices like ereader, smartphone or tablet

Ajira-FR/comics-splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

comics-splitter

Comics Splitter is a Python script that cut comic strip or manga page in panels. This allow the reader to have a better reading experience on small devices like ereader, smartphone or tablet

Dependencies

  • Python3
  • Pillow

Usage

python3 comics_splitter.py -i <inputDir> -o <outputDir>

Options:
    -r, --rotate : enable rotation to always have a portrait page (very usefull on E-reader)
    -d, --diago : enable diagonal split (longer processing)
    -s, --sort : smart sort on files name (Windows sort)
    -h, --help : print help
    --draw : only draw cut area

Example

This is an example with 2 manga's pages. In :

manga1 manga2

Out (The red polygon show the cut area) :

manga1cut manga2cut

TODO:

  • add vertical split
  • add option in command line
  • improve speed of diagonal cut !
  • add black (or other color) border support

About

Comics Splitter is a Python script that cut comic strip or manga page in panels. This allow the reader to have a better reading experience on small devices like ereader, smartphone or tablet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages