Only save image meta data if the image could be resized.