A Samsung TV that supports "Art Mode" requires images to be in the aspect ratio 16:9.
This script will crop images in the specified folder with the specified aspect ratio (or default 16:9 if none provided).
Here is an example:
python3 crop-images.py --input=/path/to/folder_with_images/
Input folder. The script should support folder with many images folders inside.
Specify an aspect ratio if needed in the format 16:9
. Optional, default value 16:9.
Specify a number to cut from all sides of the images should you need to.
Speify an output location if needed. Otherwise will create in the script directory in the format output_images_datetime