This tutorial will explain how to take any image and proportionally shrink it to any size you define.
The three main goals of this function are:
- Shrink an image to a defined size
- Keep the new image proportional to the old image
- Create the new image in the same directory as the old image with a defined prefix (i.e. 'tn_')
And here we go!