From a thread in dpreview I found a way to a copy EXIF data from x3f file to an DNG made by x3f_tool (v057).
https://www.dpreview.com/forums/post/56730961
(NB. I am using the DNGs made by the x3f_tool, rather than the native camera DNGs for good reason)
$ exiftool -TagsFromFile srcimage.x3f "-all:all>all:all" targetimage.dng
But I get this error:
> Warning: No writable tags set from SDIMXXXX.x3f
Then using
$ exiftool SDIMXXXX.x3f
I get no useful-looking EXIF camera data from the original x3f (see below). I do not know whether this is why I get the warning quoted above.
Is this the problem with the files, the exiftool, or the copy command? And how can I fix it, please?
Thank-you.
-------
OUTPUT:
ExifTool Version Number : 11.99
File Name : SDIMXXXX.x3f
Directory : .
File Size : 58 MB
File Modification Date/Time : 2020:06:05 17:27:40+01:00
File Access Date/Time : 2020:06:06 12:06:01+01:00
File Inode Change Date/Time : 2020:06:05 18:50:21+01:00
File Permissions : rwxrwxrwx
File Type : X3F
File Type Extension : x3f
MIME Type : image/x-sigma-x3f
File Version : 4.1
Image Width : 5424
Image Height : 3616
Rotation : 90
Preview Image : (Binary data 11190252 bytes, use -b option to extract)
Image Size : 5424x3616
Megapixels : 19.6
From the look of that output, there isn't any EXIF data.
Run this command on the file
exiftool -G1 -a -s -EXIF:all SDIMXXXX.x3f
That will show only the EXIF data and not other things like FILE or COMPOSITE groups.
Quote from: StarGeek on June 06, 2020, 11:08:01 AM
From the look of that output, there isn't any EXIF data.
Run this command on the file
exiftool -G1 -a -s -EXIF:all SDIMXXXX.x3f
That will show only the EXIF data and not other things like FILE or COMPOSITE groups.
I ran this and got nothing. Not even an error.
If I run it on the in-camera jpg - made at the same time as the x3f, then I get a full EXIF output.
I should mention that I am working on MacOS 10.13.6.
Quote from: simonlucas on June 06, 2020, 01:53:48 PM
I ran this and got nothing. Not even an error.
Then there is no EXIF data in the file.
Quote from: StarGeek on June 06, 2020, 02:59:46 PM
Quote from: simonlucas on June 06, 2020, 01:53:48 PM
I ran this and got nothing. Not even an error.
Then there is no EXIF data in the file.
Ok. I'm not sure how that is possible as it's straight off my camera, but I'll ask the Sigma forum.
Thank-you for your help!
I just wonder is it possible that exiftool is not working with x3f files on my mac?
This is the data that Sigma PhotoPro 6 shows for one of the files
(https://i.ibb.co/zXsHV9c/Screen-Shot-2020-06-06-at-22-06-06.jpg) (https://ibb.co/7nvNtMc)
Ok. I tested a smple x3f that i downloaded. It works in the exiftool. So something weird about the files from my camera. Thank-you for your help with this.
Can you send me one of the files from your camera so I can take a look (philharvey66 at gmail.com)?
- Phil
ExifTool version 12.00 (released June 11) adds support for extracting metadata from DP2Q X3F files.
- Phil