Moving the image scaling into the UIImage category.