This script renames images, and resizes them.
To install
Installation
-
Clone this repo
-
Install requirements
pip3 install pillow
pip3 install glob2
- Update script:
- line 27 - the path name of your folder of images
- line 9 - what image file type have you got? Update so correct.
- Comment out line 30 to turn on and off rename function
- Update size parameters in resize functino
- Comment out line 34-35 to turn on and off resize function
Save
- Run it
python3 rename.py