A quick function that shrinks images, maintaining integrity of the image (no stretching). You pass the path to the image, the path for the new image, and the size constraints
within which the image should fall, and the function returns true or false.