save the cropped image