Simple utility to resize JPEG and PNG images by directory.
- p, containing folder of the images to be resized
- w, new width
- h, new height
- rw, ratio width, auto calculates height
- rh, ratio height, auto calculates width
- precent, scales the image by a percentage maintaining its aspect ratio
- Ratio width and height will use their corresponding height and width values provided in the commandline arguments. Both ratio height and width cannot be provided at the same time.
- Percent scaling will ignore given width and height, and is incompatable with ratio width and height
./resizeImages -p /home/user/Photos -w 800 -h 600
./resizeImages -p /home/user/Photos -w 800 -rw
./resizeImages -p /home/user/Photos -precent 50