Page 1 of 1

Bug in v1.97: EXIF data not completely removed in view mode

Posted: Fri Jan 08, 2010 11:37 am
by KlausT
Procedure to reproduce this (minor) bug in v1.97 on WinXP SP3:

1. display a jpg-image containing EXIF and IPTC data in view mode, verify metadata with Edit > Properties:
Image

2. remove all metadata with Edit > Metadata > Remove All Metadata, verify result with Edit > Properties:
Image

3. save the modified file, verify result with Edit > Properties:
Image

Obviously, all metadata were removed in step 2, but new EXIF data have been inserted into the image in step 3 (indicating that the image has been modified). This is not the expected result of the feature "Remove All Metadata".

The last Xnview version which completely removed EXIF data in view mode was v1.91.6, dated Oct. 2007 (yes, I found this ancient version in my backup...).

For now, the EXIF data can only be completely removed in browser mode, using a very different interface. My suggestion is to have a common interface for both browser and view mode. In addition I think the browser mode interface should be more clear in that the "OK" button is indeed the "Save" button which removes all selected metadata at once in the file(s). This interface is not consistent with other interfaces where the user is asked to explicitly save the modified file(s). Therefore, the user may be "surprised" because of this immediate action.

Re: Bug in v1.97: EXIF data not completely removed in view mode

Posted: Fri Jan 08, 2010 12:13 pm
by marsh
If you don't want Exif thumbnail when resaving, this option should work: Read/Write>Write>Jpeg>[ ]Rebuild embedded thumbnail
I undersand some browser and viewer interfaces are necessarily different because the first writes directly to file, while the other manipulates image data.

Re: Bug in v1.97: EXIF data not completely removed in view mode

Posted: Fri Jan 08, 2010 9:29 pm
by KlausT
Thanks for the hint, this works.

To be frank, I wouldn't have associated this option with the observed result of the feature "Remove All Metadata". I think, rebuilding of an embedded thumbnail should be ignored by default if the file does not contain Exif data for the primary image. In this case, the embedded thumbnail should only be rebuild on explicit request (I cannot find such a explicit feature, neither "View > Rebuild Thumbnails" in browser mode nor "Rebuild Thumbnails" in the thumbnail's context menu do this job). But this is only my private opinion.