Resize and image and increase the JPG compression rate