resize JPEG image without loosing EXIF