start the program with 4 parameters:
- correct path with the pictures p.e. /home/kl/t1/frogs
- search pattern p.e. *.jpeg
- resize to width p.e. 150
- resize to height p.e. 150
python resize.py /home/kl/t1/frog *.jpeg 150 150
If you miss something, this will help.
sudo apt-get install python pip
sudo pip install pillow
sudo pip install resizeimage