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
- Python3
- Pillow
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
This is an example with 2 manga's pages. In :
Out (The red polygon show the cut area) :
- add vertical split
- add option in command line
- improve speed of diagonal cut !
- add black (or other color) border support
test