Cleaning Metadata Without Altering Image

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

nbrtyyujm
Posts: 3
Joined: Thu Jul 07, 2016 5:39 am

Cleaning Metadata Without Altering Image

Post by nbrtyyujm »

I clicked Remove All Metadata, but when I Save the file, it is much larger in size so XnView must be reproccessing the image. How can I strip the metadata without altering the image?
User avatar
xnview
Author of XnView
Posts: 37769
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Cleaning Metadata Without Altering Image

Post by xnview »

nbrtyyujm wrote:I clicked Remove All Metadata, but when I Save the file, it is much larger in size so XnView must be reproccessing the image. How can I strip the metadata without altering the image?
in browser, use clean metadata. 'Save' recompress the image
Pierre.
nbrtyyujm
Posts: 3
Joined: Thu Jul 07, 2016 5:39 am

Re: Cleaning Metadata Without Altering Image

Post by nbrtyyujm »

Using Clean Metadata from the browser doesn't recompress the image? In a hex editor the cleaned file looks different from the original. I was expecting only the beginning of the file where the metadata is to be different.
User avatar
XnTriq
Moderator & Librarian
Posts: 6024
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Cleaning Metadata Without Altering Image

Post by XnTriq »

nbrtyyujm wrote:Using Clean Metadata from the browser doesn't recompress the image? In a hex editor the cleaned file looks different from the original. I was expecting only the beginning of the file where the metadata is to be different.
Did you activate Optimize (Huffman table)?
Calvin Hass ([url=http://www.impulseadventure.com/photo/optimized-jpeg.html]What is an Optimized JPEG?[/url] » Does JPEG Optimization affect Image Quality?) wrote:No! The huffman table optimization is a lossless (reversible) process that has absolutely no effect on the resulting image quality. If one has the option, it is almost always best to enable JPEG optimization. The extra file size savings can't hurt. However, as it may potentially reduce compatibility with some bad JPEG decoders, this may be enough of a reason for you to disable it.
nbrtyyujm
Posts: 3
Joined: Thu Jul 07, 2016 5:39 am

Re: Cleaning Metadata Without Altering Image

Post by nbrtyyujm »

The only item activated is EXIF. Everything else is unselected.
User avatar
XnTriq
Moderator & Librarian
Posts: 6024
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Cleaning Metadata Without Altering Image

Post by XnTriq »

Bug confirmed :-|

I used FujiFilm FinePixS1Pro (1).jpg and CompareIt! (Find moved sections & Align mode activated) for my tests.
p132987.png
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 37769
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Cleaning Metadata Without Altering Image

Post by xnview »

XnTriq wrote:Bug confirmed :-|
when you use 'Clean metadata' in browser mode?
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6024
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Cleaning Metadata Without Altering Image

Post by XnTriq »

xnview wrote:when you use 'Clean metadata' in browser mode?
Yes, in the browser. (cmd_CleanMetadata isn't available in view mode, I believe.)