Cleaning metadata affecting image quality?

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

Xavier.png
Posts: 2
Joined: Sun Mar 27, 2022 9:25 am

Cleaning metadata affecting image quality?

Post by Xavier.png »

Hello!

I have recently scrubbed all my images (mostly JPG's) of metadata using the feature under 'tools > metadata > clean' in the browser. It all went smoothly, but after the operation, I noticed that all my files had a smaller file size than before. Between 5 - 25KB less, on average. Now, I'm afraid that cleaning the metadata somehow has affected the quality of my images. I checked again and again, but did not find a single difference in quality, but I'm still a bit worried about it.

After looking around on the forums, I think I don't have to be worried. But I could not find a definite answer to this. Could anyone explain to me how the cleaning tool works and should I be worried about it affecting my image quality?

Thanks in advance :D
Xavier.png
Posts: 2
Joined: Sun Mar 27, 2022 9:25 am

Re: Cleaning metadata affecting image quality?

Post by Xavier.png »

I understand it’s a bit of a simple question that might easily be looked up, but the answer depends on how the cleaning tool in XnviewMP works. An answer or even a link to something would be very helpful!
User avatar
michel038
Posts: 973
Joined: Tue Sep 27, 2016 8:18 am
Location: France

Re: Cleaning metadata affecting image quality?

Post by michel038 »

As far as I know, XnViewMP reads/writes only headers of jpg pictures when working on metadata
Decoding /coding the picture is not needed

If metadata are cleaned, obviously the size of the file decreases ...
User avatar
XnTriq
Moderator & Librarian
Posts: 6134
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Cleaning metadata affecting image quality?

Post by XnTriq »

Optimize Huffman table also reduces file size.
https://web.archive.org/web/20060624231102/http://graphicssoft.about.com/od/graphicformats/f/summary.htm wrote:The three types of JPEG are Baseline, Baseline Optimized, and Progressive.
  • Baseline (Standard)
    All web browsers recognize this JPEG format.
  • Baseline Optimized
    This JPEG format option provides an optimized color and slightly better compression. All modern browsers support it, but earlier ones didn't. It's your best choice for JPEG files today.
  • Progressive
    Creates a JPEG file that displays as it downloads, starting blocky, and getting progressively clearer as it downloads. It doesn't make the image download any faster, but it can give the illusion of speed since the blocky image loads right away on a slow connection. With the majority of internet users on high-speed connections today, Progressive JPEG is rarely used.