Lightweight image resize tool for UNIX based systems.
Make sure you have ffmpeg installed!
linux:
apt install ffmpeg
Mac OS:
brew install ffmpeg
python3 resizr.py [-s source_directory] [--res 1920:1080] [-f png]
- [-s] Source directory containing images. default: .
- [--res] Output file resolution. default: 1920x1080
- [-f] File extensions to loop over. default: png
The script loops over image files of different resolutions in source_directory and add black sides, either on top or bottom, depending on it's resolution, to each one.
Result is output directory with all images with same resolution, depending on --res option