shift "DateTimeOriginal" in X3F not working

Started by hhut, October 13, 2012, 02:33:15 AM

Previous topic - Next topic

hhut

Hello,

hope I'm not doing something wrong. I was trying to shift the exif dates in my recent Sigma X3F raw files. I've been using the shortcut "AllDates" to shift DateTimeOriginal, CreateDate and ModifyDate. But after the operation CreateDate and ModifyDate were indeed correctly modified but DateTimeOriginal remained untouched. I tried it numerous times with different options but it always remained untouched without any error message or something:

exiftool -verbose "-DateTimeOriginal+=0:0:2 13:30:00" SDIM0001.x3f
======== SDIM0001.x3f
Rewriting SDIM0001.x3f...
  FileType = X3F
  MIMEType = image/x-sigma-x3f
  Editing tags in: APP0 APP1 CIFF ExifIFD IFD0 JFIF MIE-Doc MakerNotes XMP
JPEG APP1 (46881 bytes):
  Rewriting IFD0
  ExifByteOrder = MM
  Rewriting ExifIFD
  Rewriting MakerNoteSigma
  Rewriting InteropIFD
  Rewriting IFD1
JPEG DQT (130 bytes):
JPEG DRI (2 bytes):
JPEG SOF0:
JPEG DHT (416 bytes):
JPEG SOS
    1 image files updated


exiftool SDIM0001.x3f
ExifTool Version Number         : 9.02
File Name                       : SDIM0001.x3f
Modify Date                     : 2012:09:22 00:03:45
Create Date                     : 2012:09:22 00:03:45
Date/Time Original              : 2012:09:19 10:33:45


I'm only guessing but could there be a problem with the slash in "Date/Time Original" for X3F Raws?

Thanks alot!

hhut

This is the original an complete exif dump:

exiftool SDIM0001.x3f_original
ExifTool Version Number         : 9.02
File Name                       : SDIM0001.x3f_original
Directory                       : .
File Size                       : 10 MB
File Modification Date/Time     : 2012:10:12 07:48:18+02:00
File Access Date/Time           : 2012:10:08 19:01:38+02:00
File Permissions                : rw-rw-rw-
File Type                       : X3F
MIME Type                       : image/x-sigma-x3f
File Version                    : 2.2
Mark Bits                       : (none)
Rotation                        : 0
Exposure Adjust                 : -0.5
Contrast                        : 0.2
Shadow                          : 0.1
Highlight                       : -0.5
Saturation                      : 0.2
Sharpness                       : 0.0
Red Adjust                      : 1.0
Green Adjust                    : 1.0
Blue Adjust                     : 1.0
Exif Byte Order                 : Big-endian (Motorola, MM)
Orientation                     : Horizontal (normal)
X Resolution                    : 180
Y Resolution                    : 180
Resolution Unit                 : inches
Software                        : 2.00.0.000000000
Modify Date                     : 2012:09:19 10:33:45
Y Cb Cr Positioning             : Co-sited
Exif Version                    : 0221
Create Date                     : 2012:09:19 10:33:45
Components Configuration        : Y, Cb, Cr, -
Max Aperture Value              : 4.0
Light Source                    : Unknown
Flash                           : No Flash
Resolution Mode                 : HI
AF Mode                         : AF-S
Focus Setting                   : AF
X3 Fill Light                   : 0
Color Adjustment                : 0 0 0
Adjustment Mode                 : Auto Setting Mode
Firmware                        : 2.00
Auto Bracket                    :
Preview Image Start             : 6808
Preview Image Length            : 40349
Preview Image Size              : 640 480
Maker Note Version              : 0100
AF Point                        : Center
File Format                     : X3F-S
Calibration                     : Starting calibration file for SD14F13_Rev3; S/N C70_7105
May-2011 09:25:25
Color Mode                      : n/a
Exposure Time 2                 : 1/50
Flash Exposure Comp             : 0
User Comment                    :
Flashpix Version                : 0100
Color Space                     : sRGB
Exif Image Width                : 2640
Exif Image Height               : 1760
Interoperability Index          : R98 - DCF basic file (sRGB)
Interoperability Version        : 0100
Sensing Method                  : One-chip color area
File Source                     : Digital Camera
Custom Rendered                 : Normal
Exposure Mode                   : Auto
Scene Capture Type              : Standard
Image Unique ID                 : 3031303035313439899f595034653030
Gamma                           : undef
Compression                     : JPEG (old-style)
Thumbnail Offset                : 2632
Thumbnail Length                : 4174
Image Width                     : 2640
Image Height                    : 1760
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 1240412 bytes, use -b option to extract)
Metering Mode                   : 8-segment
Focus Mode                      : AF-S
Aperture Displayed              : 4.5
F Number                        : 4.5
Bracket Shot                    :
Burst Shot                      : 0
Make                            : SIGMA
Model                           : SIGMA DP1S
Camera Name                     :
Serial Number                   : 1005149
Drive Mode                      : Single Shot
Exposure Compensation           : -0.7
Net Exposure Compensation       : -0.7
Integration Time                : 1/50
Firmware Version                : 2.00
Flash Mode                      : Off
Focal Length                    : 16.6 mm
Focal Length In 35mm Format     : 28.0 mm
Focus                           : Auto-focus Locked
Image Board ID                  :
Sensor Temperature              : 25 C
ISO                             : 100
Lens Aperture Range             : 4.0
Lens Focal Range                : 16.6
Lens Type                       : Unknown ( )
Exposure Program                : Program
Quality                         : High
Sensor ID                       :
Shutter Speed Displayed         : 1/50
Exposure Time                   : 1/50
Date/Time Original              : 2012:09:19 10:33:45
White Balance                   : Auto
Aperture                        : 4.5
Image Size                      : 2640x1760
Lens ID                         : Unknown ( )
Preview Image                   : (Binary data 40349 bytes, use -b option to extract)
Scale Factor To 35 mm Equivalent: 1.7
Shutter Speed                   : 1/50
Thumbnail Image                 : (Binary data 4174 bytes, use -b option to extract)
Circle Of Confusion             : 0.018 mm
Field Of View                   : 65.5 deg
Focal Length                    : 16.6 mm (35 mm equivalent: 28.0 mm)
Hyperfocal Distance             : 3.44 m
Light Value                     : 10.0


Thank you!

Phil Harvey

You're not doing anything wrong:

DateTimeOriginal exists in 2 locations in X3F images:

> exiftool a.x3f -datetimeoriginal -a -G
[EXIF]          Date/Time Original              : 2008:07:15 17:55:16
[SigmaRaw]      Date/Time Original              : 2008:07:15 17:55:16


ExifTool doesn't yet have the ability to write the SigmaRaw Properties Tags.

Without the -a option you only see one of these values, and unfortunately it is the one you can't change.  I'll update ExifTool 9.03 to give priority to the EXIF version of this tag so you will see it instead of the SigmaRaw version without the -a option.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

hhut

Thank you very much... didn't think of multiple tag locations. To bad Lightroom is probably using the SigmaRaw tag to sort the files...