DNG files missing recorded corrections

Started by Wendtjanice, July 25, 2016, 12:55:41 PM

Previous topic - Next topic

Phil Harvey

...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 ($).

Wendtjanice

Thank you for working with us. Unfortunately 
exiftool -o %d%f.xmp -all -xmp:all -ext dng DIR
Does not work the white balance is still not writing.

-b -XMP -o %d%f.xmp  This is not working because the image rating and a lot of other data is missing so it is not all writing to the xmp files.


When this is used -xmp:all  the data can all be read but a XMP file is not created. The information stays in the terminal window.


Thank you, Janice



Phil Harvey

Hi Janice,

Sorry, you are correct.  My mistake -- I should read the documentation.  The implied destionation group of "XMP" wasn't specific enough.  This is the command to use:

exiftool -o %d%f.xmp -all "-xmp:all>all:all" -ext dng DIR

This will copy the XMP to the same namespace in the destination file.

- 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 ($).

Wendtjanice

Dear Phil,

Now I get the lens information but the white balance disappeared again.

It seems that I cannot get both the lens information and the white balance, with the temperature and tint to come through.

Janice Wendt

Wendtjanice

Dear Phil,

This is the data the tool can read from the DNG.
How do I get all of this to come over into the XMP?

When I get on the other fails but all of the data is there.


ExifTool Version Number         : 10.24
File Name                       : 07022016_DerekSara_Lidia_WED-2839.dng
Directory                       : /Users/janicewendt/Desktop/Joel test/Mactest
File Size                       : 2.1 MB
File Modification Date/Time     : 2016:07:27 14:07:53-07:00
File Access Date/Time           : 2016:07:28 14:46:55-07:00
File Inode Change Date/Time     : 2016:07:27 14:07:53-07:00
File Permissions                : rw-r--r--
File Type                       : DNG
File Type Extension             : dng
MIME Type                       : image/x-adobe-dng
Exif Byte Order                 : Little-endian (Intel, II)
Make                            : Canon
Camera Model Name               : Canon EOS 6D
Strip Offsets                   : 130198
Orientation                     : Rotate 270 CW
Rows Per Strip                  : 171
Strip Byte Counts               : 9661
Software                        : Adobe Photoshop Lightroom 4.4 (Windows)
Modify Date                     : 2016:07:07 12:01:18
Artist                          : Lidia Sharapova
Image Width                     : 3000
Image Height                    : 2000
Bits Per Sample                 : 8 8 8
Compression                     : Lossy JPEG
Photometric Interpretation      : Linear Raw
Samples Per Pixel               : 3
Planar Configuration            : Chunky
Tile Width                      : 512
Tile Length                     : 512
Tile Offsets                    : (Binary data 182 bytes, use -b option to extract)
Tile Byte Counts                : (Binary data 148 bytes, use -b option to extract)
Black Level Repeat Dim          : 1 1
Black Level                     : 0 0 0
White Level                     : 255 255 255
Default Scale                   : 1 1
Default Crop Origin             : 0 0
Default Crop Size               : 3000 2000
Anti Alias Strength             : 1
Best Quality Scale              : 1
Opcode List 2                   : (Binary data 256 bytes, use -b option to extract)
Subfile Type                    : Reduced-resolution image
Preview Image Start             : 139860
Preview Image Length            : 48412
Y Cb Cr Coefficients            : 0.299 0.587 0.114
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Y Cb Cr Positioning             : Co-sited
Reference Black White           : 0 255 128 255 128 255
XMP Toolkit                     : Adobe XMP Core 5.6-c011 79.156380, 2014/05/21-23:38:37
Creator Tool                    : Adobe Photoshop Lightroom 4.4 (Windows)
Metadata Date                   : 2016:07:27 14:07:53-07:00
Rating                          : 1
Format                          : image/dng
Lens                            : 35mm
Approximate Focus Distance      : 2.22
Flash Compensation              : 0
Firmware                        : 1.1.6
Date Created                    : 2016:07:02 11:02:10.00
Document ID                     : xmp.did:9113c810-5869-4147-8f02-e2c8b088186c
Original Document ID            : 0C8B71834D0C6918E9ABE304C2A231CB
Instance ID                     : xmp.iid:04ebded1-eef3-4461-a73a-e2a42cbb65de
Version                         : 9.6
Process Version                 : 6.7
White Balance                   : Custom
Auto White Version              : 134348800
Color Temperature               : 4650
Tint                            : +5
Saturation                      : +5
Sharpness                       : 55
Luminance Smoothing             : 10
Color Noise Reduction           : 25
Vignette Amount                 : 0
Shadow Tint                     : 0
Red Hue                         : 0
Red Saturation                  : 0
Green Hue                       : 0
Green Saturation                : 0
Blue Hue                        : 0
Blue Saturation                 : 0
Vibrance                        : +5
Hue Adjustment Red              : 0
Hue Adjustment Orange           : 0
Hue Adjustment Yellow           : 0
Hue Adjustment Green            : 0
Hue Adjustment Aqua             : 0
Hue Adjustment Blue             : 0
Hue Adjustment Purple           : 0
Hue Adjustment Magenta          : 0
Saturation Adjustment Red       : 0
Saturation Adjustment Orange    : 0
Saturation Adjustment Yellow    : 0
Saturation Adjustment Green     : 0
Saturation Adjustment Aqua      : -3
Saturation Adjustment Blue      : -33
Saturation Adjustment Purple    : 0
Saturation Adjustment Magenta   : 0
Luminance Adjustment Red        : 0
Luminance Adjustment Orange     : 0
Luminance Adjustment Yellow     : 0
Luminance Adjustment Green      : 0
Luminance Adjustment Aqua       : 0
Luminance Adjustment Blue       : 0
Luminance Adjustment Purple     : 0
Luminance Adjustment Magenta    : 0
Split Toning Shadow Hue         : 0
Split Toning Shadow Saturation  : 0
Split Toning Highlight Hue      : 0
Split Toning Highlight Saturation: 0
Split Toning Balance            : 0
Parametric Shadows              : 0
Parametric Darks                : 0
Parametric Lights               : 0
Parametric Highlights           : 0
Parametric Shadow Split         : 25
Parametric Midtone Split        : 50
Parametric Highlight Split      : 75
Sharpen Radius                  : +0.8
Sharpen Detail                  : 15
Sharpen Edge Masking            : 40
Post Crop Vignette Amount       : 0
Grain Amount                    : 0
Luminance Noise Reduction Detail: 50
Color Noise Reduction Detail    : 50
Luminance Noise Reduction Contrast: 0
Color Noise Reduction Smoothness: 50
Lens Profile Enable             : 1
Lens Manual Distortion Amount   : 0
Perspective Vertical            : 0
Perspective Horizontal          : 0
Perspective Rotate              : 0.0
Perspective Scale               : 100
Perspective Aspect              : 0
Perspective Upright             : 0
Perspective X                   : 0.00
Perspective Y                   : 0.00
Auto Lateral CA                 : 1
Exposure 2012                   : +0.20
Contrast 2012                   : 0
Highlights 2012                 : -55
Shadows 2012                    : +36
Whites 2012                     : +31
Blacks 2012                     : -5
Clarity 2012                    : +10
Defringe Purple Amount          : 0
Defringe Purple Hue Lo          : 30
Defringe Purple Hue Hi          : 70
Defringe Green Amount           : 0
Defringe Green Hue Lo           : 40
Defringe Green Hue Hi           : 60
Dehaze                          : 0
Tone Map Strength               : 0
Convert To Grayscale            : False
Tone Curve Name                 : Medium Contrast
Tone Curve Name 2012            : Linear
Camera Profile                  : Adobe Standard
Camera Profile Digest           : 98BA1AFA1155D0472068BB57D3655975
Lens Profile Setup              : Custom
Lens Profile Name               : Adobe (Nikon AF-S NIKKOR 24-120mm f/4G ED VR) v2
Lens Profile Filename           : NIKON D3X (Nikon AF-S NIKKOR 24-120mm f4G ED VR) v2 - RAW.lcp
Lens Profile Digest             : 5D975A315226B9BFF48E008D11F2D4DC
Lens Profile Distortion Scale   : 100
Lens Profile Chromatic Aberration Scale: 100
Lens Profile Vignetting Scale   : 100
Upright Version                 : 151388160
Upright Center Mode             : 0
Upright Center Norm X           : 0.5
Upright Center Norm Y           : 0.5
Upright Focal Mode              : 0
Upright Focal Length 35mm       : 35
Upright Preview                 : False
Upright Transform Count         : 6
Upright Four Segments Count     : 0
Has Settings                    : True
Crop Top                        : 0.082346
Crop Left                       : 0.014774
Crop Bottom                     : 1
Crop Right                      : 0.884412
Crop Angle                      : 1.43539
Crop Constrain To Warp          : 0
Has Crop                        : True
Already Applied                 : False
Raw File Name                   : 07022016_DerekSara_Lidia_WED-2839.dng
Creator                         : Lidia Sharapova
Rights                          : (c)Lidia Sharapova
History Action                  : derived, saved, saved
History Parameters              : converted from image/x-canon-cr2 to image/dng, saved to new location
History Instance ID             : xmp.iid:9113c810-5869-4147-8f02-e2c8b088186c, xmp.iid:04ebded1-eef3-4461-a73a-e2a42cbb65de
History When                    : 2016:07:07 12:01:18-05:00, 2016:07:27 14:07:53-07:00
History Software Agent          : Adobe Photoshop Lightroom 4.4 (Windows), Adobe Photoshop Lightroom 6.6 (Macintosh)
History Changed                 : /, /metadata
Derived From Document ID        : 0C8B71834D0C6918E9ABE304C2A231CB
Derived From Original Document ID: 0C8B71834D0C6918E9ABE304C2A231CB
Tone Curve                      : 0, 0, 32, 22, 64, 56, 128, 128, 192, 196, 255, 255
Tone Curve Red                  : 0, 0, 255, 255
Tone Curve Green                : 0, 0, 255, 255
Tone Curve Blue                 : 0, 0, 255, 255
Tone Curve PV2012               : 0, 0, 255, 255
Tone Curve PV2012 Red           : 0, 0, 255, 255
Tone Curve PV2012 Green         : 0, 0, 255, 255
Tone Curve PV2012 Blue          : 0, 0, 255, 255
Copyright                       : (c)Lidia Sharapova
Exposure Time                   : 1/160
F Number                        : 2.5
Exposure Program                : Manual
ISO                             : 1600
Sensitivity Type                : Recommended Exposure Index
Recommended Exposure Index      : 1600
Exif Version                    : 0230
Date/Time Original              : 2016:07:02 11:02:10
Create Date                     : 2016:07:02 11:02:10
Shutter Speed Value             : 1/160
Aperture Value                  : 2.5
Exposure Compensation           : 0
Max Aperture Value              : 1.4
Metering Mode                   : Multi-segment
Flash                           : Off, Did not fire
Focal Length                    : 35.0 mm
Focal Plane X Resolution        : 152
Focal Plane Y Resolution        : 152
Focal Plane Resolution Unit     : mm
Custom Rendered                 : Normal
Exposure Mode                   : Manual
Scene Capture Type              : Standard
Serial Number                   : 323051001273
Lens Info                       : 35mm f/?
Lens Model                      : 35mm
Lens Serial Number              : 0000000000
Image Number                    : 0
DNG Version                     : 1.4.0.0
DNG Backward Version            : 1.4.0.0
Unique Camera Model             : Canon EOS 6D
Color Matrix 1                  : 0.7546 -0.1435 -0.0929 -0.3846 1.1488 0.2692 -0.0332 0.1209 0.637
Color Matrix 2                  : 0.7034 -0.0804 -0.1014 -0.442 1.2564 0.2058 -0.0851 0.1994 0.5758
Camera Calibration 1            : 0.9844 0 0 0 1 0 0 0 0.9569
Camera Calibration 2            : 0.9844 0 0 0 1 0 0 0 0.9569
Analog Balance                  : 1 1 1
As Shot Neutral                 : 0.58783 1 0.490187
Baseline Exposure               : 0.25
Baseline Noise                  : 0.8
Baseline Sharpness              : 1.25
Linear Response Limit           : 1
Camera Serial Number            : 323051001273
DNG Lens Info                   : 35mm f/?
Shadow Scale                    : 1
Calibration Illuminant 1        : Standard Light A
Calibration Illuminant 2        : D65
Raw Data Unique ID              : 00000000D10421E142314F6FD5E8995E
Original Raw File Name          : 07022016_DerekSara_Lidia_WED-2839.CR2
Camera Calibration Sig          : com.adobe
Profile Calibration Sig         : com.adobe
Profile Name                    : Adobe Standard
Profile Hue Sat Map Dims        : 90 30 1
Profile Hue Sat Map Data 1      : (Binary data 137566 bytes, use -b option to extract)
Profile Hue Sat Map Data 2      : (Binary data 138373 bytes, use -b option to extract)
Profile Embed Policy            : Allow Copying
Profile Copyright               : Copyright 2012 Adobe Systems, Inc.
Forward Matrix 1                : 0.7763 0.0065 0.1815 0.2364 0.8351 -0.0715 -0.0059 -0.4228 1.2538
Forward Matrix 2                : 0.7464 0.1044 0.1135 0.2648 0.9173 -0.182 0.0113 -0.2154 1.0292
Preview Application Name        : Adobe Photoshop Lightroom
Preview Application Version     : 4.4
Preview Settings Digest         : 92127ca164f19e53bcea1ee0340d1f58
Preview Color Space             : sRGB
Preview Date Time               : 2016:07:07 12:01:18-05:00
Profile Look Table Dims         : 36 8 16
Profile Look Table Data         : (Binary data 89143 bytes, use -b option to extract)
Noise Profile                   : 0.000212738231479362 3.95745008879821e-07 0.000212034790569924 3.95863756131935e-07 0.000208419928282597 4.00886066383125e-07
Original Default Final Size     : 5472 3648
Original Best Quality Size      : 5472 3648
Original Default Crop Size      : 5472 3648
New Raw Image Digest            : 2416c7b0a36406ebe3ccaff78b0b4996
Aperture                        : 2.5
Image Size                      : 3000x2000
Megapixels                      : 6.0
Preview Image                   : (Binary data 48412 bytes, use -b option to extract)
Scale Factor To 35 mm Equivalent: 1.8
Shutter Speed                   : 1/160
Circle Of Confusion             : 0.016 mm
Field Of View                   : 31.5 deg
Focal Length                    : 35.0 mm (35 mm equivalent: 63.8 mm)
Hyperfocal Distance             : 29.75 m
Lens ID                         : Sigma 35mm f/1.4 DG HSM
Light Value                     : 6.0
MacBook-Pro:~ janicewendt$

Phil Harvey

It is more complicated that you think.  You should read FAQ number 3

The listing you gave in your last post doesn't help at all because you probably didn't extract duplicate tags and I can't tell what groups they are in.  For the DNG you posted:

> exiftool ~/Desktop/07022016_DerekSara_Lidia_WED-2769.dng -a -G1 -whitebalance -colortemperature
[XMP-crs]       White Balance                   : Custom
[ExifIFD]       White Balance                   : Auto
[XMP-crs]       Color Temperature               : 5550


So there are two white balance tags (with different values).

But if you use the last command I gave, this is what I get:

> exiftool -o %d%f.xmp -all "-xmp:all>all:all" -ext dng ~/Desktop/
    1 directories scanned
    1 image files created
> exiftool ~/Desktop/07022016_DerekSara_Lidia_WED-2769.xmp -a -G1 -whitebalance -colortemperature
[XMP-crs]       White Balance                   : Custom
[XMP-exif]      White Balance                   : Auto
[XMP-crs]       Color Temperature               : 5550


Both WhiteBalance tags and the ColorTemperature tag were copied just fine to the XMP.  So I don't understand the problem you are having.

- 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 ($).