changing the dates on sigma x3f

Started by b1c, May 18, 2019, 01:17:50 PM

Previous topic - Next topic

b1c

The clock on my sigma dp1 camera was wrongly set to January 2012. I tried to change the dates with

exiftool.exe "-AllDates+=0:0:0 0:0:230367786" my_target_filename


The number 230367786 is the number of seconds that is equal to the timeshift I want to achieve (7years 3months 19days etc...). While this works with my sigma jpgs that sit alongside the x3f raw files, it doesnt change the dates for the x3f.

Any knows if I am doing anything wrong please?

Many thanks

StarGeek

I found a sample raw X3F file and ran your command.  Exiftool was able to change the EXIF time stamps, but not the SigmaRaw:DateTimeOriginal.  Checking the SigmaRaw tag page, none of the SigmaRaw tags are writable.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

b1c

Yes, attached is what the exif looks like from my Faststone Image Viewer. The date has been shifted to the correct value, Apr 2019. My Sigma Photo Pro, the official software from Sigma to manipulate x3f still shows the date as unchanged, see second attachment. And if do a tif and import it to lightroom, the capture date still is Jan 2012

StarGeek

It appears that Sigma Photo Pro only reads the SigmaRaw data and ignores the EXIF data.

After you export to tiff, you should be able to run your previous exiftool command on the tiff to correct the date.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

b1c

#4
Thanks. This is what I ended up doing. To be fair, I initially thought I wasnt using the exiftool properly (or exiftool itself was a bit temperamental with x3f files) but as you point out it seems that this is another annoyance to be added to the long list of annoyances of Sigma Pro Photo. It would be nice however if I could change the date on the x3f whatsoever...

This is what i get from exiftool -a


exiftool.exe _SDI0518.x3f -datetimeoriginal -a -G
[EXIF]          Date/Time Original              : 2019:04:25 09:13:56
[SigmaRaw]      Date/Time Original              : 2012:01:06 02:10:50

Exif date has now the correct values, SigmaRaw doesnt.

My full exif dump is:

ExifTool Version Number         : 11.42
File Name                       : _SDI0518.x3f
Directory                       : .
File Size                       : 46 MB
File Modification Date/Time     : 2019:05:18 14:27:24+01:00
File Access Date/Time           : 2019:05:14 23:20:27+01:00
File Creation Date/Time         : 2012:01:06 01:11:00+00:00
File Permissions                : rw-rw-rw-
File Type                       : X3F
File Type Extension             : x3f
MIME Type                       : image/x-sigma-x3f
File Version                    : 3.0
Mark Bits                       : (none)
Rotation                        : 0
Exposure Adjust                 : 0.0
Shadow                          : 0.0
Highlight                       : 0.0
Red Adjust                      : 0.0
Green Adjust                    : 0.0
Blue Adjust                     : 0.0
Exif Byte Order                 : Big-endian (Motorola, MM)
Image Description               :
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : 1.04.3.7091
White Point                     : 0.313 0.329
Primary Chromaticities          : 0.64 0.33 0.21 0.71 0.15 0.06
Y Cb Cr Coefficients            : 0.299 0.587 0.114
Y Cb Cr Positioning             : Co-sited
Copyright                       : Copyright 2012
Exposure Time                   : 1/1000
F Number                        : 5.0
Exposure Program                : Aperture-priority AE
ISO                             : 200
Exif Version                    : 0230
Date/Time Original              : 2019:04:25 09:13:56
Create Date                     : 2019:04:25 09:13:56
Components Configuration        : Y, Cb, Cr, -
Compressed Bits Per Pixel       : 5
Shutter Speed Value             : 1/996
Aperture Value                  : 5.0
Brightness Value                : 8.25
Max Aperture Value              : 2.8
Subject Distance                : 40.88 m
Light Source                    : Unknown
Flash                           : No Flash
Focal Length                    : 19.0 mm
Serial Number                   : 90310795
Drive Mode                      : SINGLE
Resolution Mode                 : HI
AF Mode                         : AF-S
Focus Setting                   : AF
White Balance                   : Auto
Metering Mode                   : Multi-segment
X3 Fill Light                   : 0
Color Adjustment                : 0 0 0
Adjustment Mode                 :
Quality                         : FINE
Firmware                        : 1.04.3.7091
Auto Bracket                    :
Preview Image Start             : 19204
Preview Image Length            : 41185
Preview Image Size              : 640x480
Maker Note Version              : 0100
File Format                     : X3F-P
Lens Type                       : Sigma 19mm F2.8
Lens Focal Range                : 19 to 19
Lens Max Aperture Range         : 2.8 to 2.8
Calibration                     : F20_CalibrationSoft Version 1.00 12-11-13.RunID:F20Cal-01-001.Runtime:2012-12-25 8:25:37
Picture Mode                    : Landscape
Lens Aperture Range             : 2.8 to 16
Exposure Time 2                 : 1/1020
Exposure Compensation           : -0.3
Sensor Temperature              : 29 C
Flash Exposure Comp             : 0
Digital Filter                  : Landscape
User Comment                    :
Flashpix Version                : 0100
Color Space                     : Uncalibrated
Exif Image Width                : 4704
Exif Image Height               : 3136
Interoperability Index          : R03 - DCF option file (Adobe RGB)
Interoperability Version        : 0100
Sensing Method                  : One-chip color area
File Source                     : Digital Camera
Scene Type                      : Directly photographed
Custom Rendered                 : Normal
Exposure Mode                   : Auto
Digital Zoom Ratio              : 1
Focal Length In 35mm Format     : 28 mm
Scene Capture Type              : Standard
Contrast                        : Normal
Saturation                      : Normal
Sharpness                       : Normal
Image Unique ID                 : 30303331303739352A58064F35363046
Gamma                           : 2.2
Warning                         : Bad PrintIM size
Compression                     : JPEG (old-style)
Make                            : SIGMA
Camera Model Name               : SIGMA DP1 Merrill
Modify Date                     : 2012:01:06 02:10:50
Thumbnail Offset                : 5240
Thumbnail Length                : 13963
Image Width                     : 4704
Image Height                    : 3136
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
Jpg From Raw                    : (Binary data 6377283 bytes, use -b option to extract)
Focus Mode                      : AF-S
Aperture Displayed              : 5.0
Bracket Shot                    :
Burst Shot                      : 0
Camera Name                     :
Net Exposure Compensation       : -0.3
Integration Time                : 1/1020
Firmware Version                : 1.04.3.7091
Flash Mode                      : Off
Focus                           : Auto-focus Locked
Image Board ID                  :
Sensor ID                       : F20
Shutter Speed Displayed         : 1/1000
Flash Power                     : 191
Aperture                        : 5.0
Image Size                      : 4704x3136
Lens ID                         : Sigma 19mm F2.8
Megapixels                      : 14.8
Preview Image                   : (Binary data 41185 bytes, use -b option to extract)
Scale Factor To 35 mm Equivalent: 1.5
Shutter Speed                   : 1/1000
Thumbnail Image                 : (Binary data 13963 bytes, use -b option to extract)
Circle Of Confusion             : 0.020 mm
Depth Of Field                  : inf (3.26 m - inf)
Field Of View                   : 65.5 deg
Focal Length                    : 19.0 mm (35 mm equivalent: 28.0 mm)
Hyperfocal Distance             : 3.54 m
Light Value                     : 13.6