Why Mathematica modifies imported images on exporting them?
and now files image1.jpg and image2.jpg are not identical.
What is a purpose of this? The user did not have made any manipulation to the image, so why the exact same file was not created?
Say I want to change orientation of an image by changing "orientation" parameter in EXIF. The output of exporting such an image should be file with the same size as the original image and the two images should differ only in one byte - byte that encodes EXIF orientation.