Open sumedhvidhate opened 6 months ago
When you read/write a JPG image the pixels will change because the format is losses. But in your case the difference is very small:
compare -metric rmse "raw image.JPG" ImageMagick_exif.JPG null:
91.6095 (0.00139787)
The pixels are only 0.00139787
different. The size is larger because you are using a quality of 100
instead of 95
. If you only want to change the metadata of the image you probably don't want to use this library because it also decodes and encodes the pixels causing them to change slightly.
Magick.NET version
13.4.0
Environment (Operating system, version and so on)
Windows
Description
When performing EXIF operation on the image, image properties are getting changed. On carrying out pixel by pixel comparison it was found out that there was around 50% pixels changed even after using the commands - image.Quality = 100; image.Settings.Compression = CompressionMethod.NoCompression;
We are using this images for photogrammetry purpose and ortho-mosaic generation. There is significant change in the size too after performing EXIF operation
Here I'm attaching the images in the drive link below https://drive.google.com/drive/folders/1ggSsa2eM1IS-fDxVTuHK8P5P6_i3XCnB?usp=drive_link
The code I'm using is as follows
Steps to Reproduce
I have uploaded both the raw image and the EXIF image, processed using ImageMagick, to the drive link.