Function for Scaling down UIImage file sizes