My little half-an-hour-long-development project
Usage: splitter.py [options]
Options:
-h, --help show this help message and exit
-p PATH, --path=PATH path to file
-i INITIAL_NAME, --initial_name=INITIAL_NAME
initial name
-t TARGET_NAME, --target_name=TARGET_NAME
target name
-o ORIENTATION, --orientation=ORIENTATION
orientation
PATH, INITIAL_NAME, TARGET_NAME are mandatory.
ORIENTATION is optional. By default it will cut vertically.
python splitter.py -p pathToFile -i initialName -t targetName
For example:
python splitter.py -p '/Users/leff/original.png' -i lev -t lv -o v
- Pillow
To report a specific problem or feature request, open a new issue on Github. For questions, suggestions, or anything else, email me at leff@leff.su or ping me on Telegram t.me/leffsu.
Lev Nazarov - @leffsu on GitHub, @leffsu on Telegram
Apache 2.0