Page 1 of 1

0.83: Linux save will loose EXIF tag

Posted: Fri Dec 02, 2016 8:04 am
by Roumano
Hi,

on my Linux machine, all tested version of XnViewMP ( 0.83 0.81 0.72 )
any save will result of loosing exif information


Before save :

exiftool ~/raw/Olympus/test.jpg
ExifTool Version Number : 10.25
File Name : test.jpg
Directory : /home/roumano/raw/Olympus
File Size : 646 kB
File Modification Date/Time : 2016:12:02 08:38:40+01:00
File Access Date/Time : 2016:12:02 08:38:40+01:00
File Inode Change Date/Time : 2016:12:02 08:38:40+01:00
File Permissions : rw-r--r--
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
JFIF Version : 1.01
Exif Byte Order : Little-endian (Intel, II)
Processing Software : gThumb 3.4.3
Make : OLYMPUS IMAGING CORP.
Camera Model Name : TG-2
Orientation : Horizontal (normal)
X Resolution : 314
Y Resolution : 314
Resolution Unit : inches
Software : Version 1.0
Modify Date : 2016:10:20 20:49:33
Y Cb Cr Positioning : Co-sited
Exposure Time : 1/40
F Number : 2.6
Exposure Program : Creative (Slow speed)
ISO : 800
....

After a modification into xnviewMP and save :
roumano@roumano ~ $ exiftool ~/raw/Olympus/test.jpg
ExifTool Version Number : 10.25
File Name : test.jpg
Directory : /home/roumano/raw/Olympus
File Size : 2.8 MB
File Modification Date/Time : 2016:10:22 15:24:18+02:00
File Access Date/Time : 2016:12:02 08:37:23+01:00
File Inode Change Date/Time : 2016:12:02 08:37:47+01:00
File Permissions : rw-r--r--
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
JFIF Version : 1.01
Resolution Unit : inches
X Resolution : 314
Y Resolution : 314
Image Width : 3968
Image Height : 2976
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:4:4 (1 1)
Image Size : 3968x2976
Megapixels : 11.8


I also have tested with other kind of image with exif (from a Iphone) == same issue


i have tested to make a modificaiton with a other software ( gthumb) == no issue, exif information remain.


The output of XnViewMP command line seem's to not give information about any issue :

Selectiontype: 0 (2805 1856)
Selectiontype: 0 (2822 1869)
## resetViewport (33043e0) ==> 1197 1099 (1197 792) 0 0
########################################
############### UPDATE MENU ############
########################################
SIZE : 0 114 (-1)
SIZE : 0 65 (-1)
SIZE : 0 114 (-1)
SIZE : 0 65 (-1)
SIZE : 0 114 (-1)
SIZE : 0 65 (-1)
SIZE : 0 114 (-1)
SIZE : 0 65 (-1)
########################################
############### UPDATE MENU ############
########################################
### MyBitmapView (33043e0) :: resizeEvent 1197 1141
### resetViewport (33043e0) ==> 1197 1141 (1197 792) 0 0
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
Object::connect: No such slot MySaveProcess::cancel()
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(2)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 2a84f80
CHECK <0>
######ThumbLoaderThread :: forever : 2a84f80
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(25)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 3429ee0
CHECK <0>
######ThumbLoaderThread :: forever : 3429ee0
SIZE : 0 114 (-1)
SIZE : 0 65 (-1)
SIZE : 0 114 (-1)
SIZE : 0 65 (-1)

If i remove my xnview.ini, it's will not losse exif tag
but i have check all options in the GUI of XnviewMP and don't find what can be the cause of loosing exif ( i have never touch manualy the file)


I can't attach the xnview.ini as it's not authorized :(
i have put it here :

http://roumano.com/temp/xnview.ini.ko

Re: Linux save will loose exif tag

Posted: Fri Dec 02, 2016 8:18 am
by xnview
I can't reproduce, please send me the jpeg file too?

Re: Linux save will loose exif tag

Posted: Fri Dec 02, 2016 8:34 am
by Roumano
Hi,

Have you try with my xnview.ini configuration file ?

Re: Linux save will loose exif tag

Posted: Fri Dec 02, 2016 8:51 am
by xnview
Roumano wrote:Have you try with my xnview.ini configuration file ?
The problem is in your .ini, please check in view mode File>Format settings>Keep EXIF

Re: 0.83: Linux save will loose EXIF tag

Posted: Mon Dec 05, 2016 10:43 pm
by Roumano
Hi,
Ok tkx
i found what was cause my issue :
Since very long time, in xnviewmp, i use "only" save, move or copy,
so never export ( the only way, we can change jpeg compression options ),( it's was not trival to find how to configure this ....)
last week, i have use the "Batch Convert" to prepare few pictures for the web (so removing the metadata to reduce the size & for privacy)
It's was unexpected for me, a Bath Convert will change my default parameter & loss important data (metadata are import for me)
Regards
++