python ./mirrorAndSplit.py <-m> <-s [amount]> <input-dir> <output-dir>Mirror, include argument if you want output to be mirrored along the vertical axis.
Split, splits the image vertically into amount sections. If given "-s 4" on a 256x1024 picture, the result would be 4 256x256 images.
The directory where the program can find the images you want to mirror and/or split.
The directory where you want the images that have been mirrored/split to be placed.
- argparse
- PIL
- os
- pathlib
- numpy
- typing