EXIF value given differs from Photoshop HISTory: Contrast

Started by BrianP, December 09, 2014, 12:21:41 PM

Previous topic - Next topic

BrianP

I turned on the Photoshop  option to add the edit history to the EXIF data. All but 2 items if interest to me are located in both the EXIF section and in the obfuscated EXIF->history BLOB.

*.all.exf is the output of a Perl script which just dumps everything verbatim

Ordinarily, the EXIF and the history agree, but I have 1 where they do not agree: Contrast:
M:\new\6s-2014.1031-nef.halloween\best>grep Contrast 6s-2014.1031-238178.halloween.rps.jpg.all.exf
Contrast2012                         =>  +15  <<
Auto Contrast
Levels  With Auto Contrast
Brightness/Contrast
Brightness/Contrast     Brightness: 5
Contrast: 10

EXIF has "+15", history shows "10"   <<<<<<<<<<<  Anomaly  >>>>>>>>>>>>>>>>>>>>>>>>>>>

Checking with latest command line
M:\new\6s-2014.1031-nef.halloween\best\done2>exiftool.exe -ver -*Contrast* 6s-2014.1031-238178.halloween.rps.jpg
9.77
Contrast                        : Normal
Contrast 2012                   : +15
Luminance Noise Reduction Contrast: 0

M:\new\6s-2014.1031-nef.halloween\best>exiftool.exe -b  -ver -history 6s-2014.1031-238178.halloween.rps.jpg | grep Contrast
Luminance Noise Contrast: 0
Auto Contrast
Levels  With Auto Contrast
Brightness/Contrast
Brightness/Contrast     Brightness: 5
Contrast: 10
Auto Contrast
Levels  With Auto Contrast

Nikon D800Extreme!    I can get the NEF to you if desired

Phil Harvey

Hi Brian,

I'm a bit lost.  It will help if you send the NEF (philharvey66 at gmail.com).

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

Phil Harvey

I got your files, thanks.  Here is what I see:

> exiftool ~/Desktop/6s-2014.1031-238178.halloween* -G1 | grep -iE "(contrast|===)"
======== /Users/phil/Desktop/6s-2014.1031-238178.halloween.nef
[ExifIFD]       Contrast                        : Normal
[Nikon]         Contrast                        : Normal
[Nikon]         Contrast Curve                  : (Binary data 578 bytes, use -b option to extract)
[Nikon]         Contrast Detect AF              : Off
[Nikon]         Contrast Detect AF In Focus     : No
======== /Users/phil/Desktop/6s-2014.1031-238178.halloween.rps.jpg
[ExifIFD]       Contrast                        : Normal
[XMP-photoshop] History                         : 2014-11-26T08:45:19-06:00.File 6s-2014.1031-238178.halloween.nef opened.Open.M:\new\6s-2014.1031-nef.halloween\best\238178\6s-2014.1031-238178.halloween.nef.As: Camera Raw.Model:  "Nikon D800E".Settings: Custom.White Balance: As Shot.Temperature: 5050.Tint: 8.134348800.Without Convert to Grayscale.Saturation: 3.Sharpen Amount: 69.Luminance Noise Reduction: 30.Color Noise Reduction: 25.Vignetting Amount: 0.Shadow Tint: 0.Red Hue: 0.Red Saturation: 0.Green Hue: 0.Green Saturation: 0.Blue Hue: 0.Blue Saturation: 0.Vibrance: 14.Hue Adjust Red: 0.Hue Adjust Orange: 0.Hue Adjust Yellow: 0.Hue Adjust Green: 0.Hue Adjust Aqua: 0.Hue Adjust Blue: 0.Hue Adjust Purple: 0.Hue Adjust Magenta: 0.Saturation Adjust Red: 0.Saturation Adjust Orange: 0.Saturation Adjust Yellow: 0.Saturation Adjust Green: 0.Saturation Adjust Aqua: 0.Saturation Adjust Blue: 0.Saturation Adjust Purple: 0.Saturation Adjust Magenta: 0.Luminance Adjust Red: 0.Luminance Adjust Orange: 0.Luminance Adjust Yellow: 0.Luminance Adjust Green: 0.Luminance Adjust Aqua: 0.Luminance Adjust Blue: 0.Luminance Adjust Purple: 0.Luminance Adjust Magenta: 0.Split Tone Shadow Hue: 0.Split Tone Shadow Saturation: 0.Split Tone Highlight Hue: 0.Split Tone Highlight Saturation: 0.Split Tone 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: 1.Sharpen Detail: 25.Sharpen Masking: 0.Post Crop Vignetting Amount: 0.Grain Amount: 0.Luminance Noise Detail: 50.Color Noise Detail: 50.Luminance Noise Contrast: 0.50.Lens Profile Enable: 1.Transform Distortion: 0.Transform Vertical: 0.Transform Horizontal: 0.Transform Rotate: 0.Transform Scale: 100.0.0.Auto CA: 1.Exposure 2012: -0.25.Constrast 2012: 15.Highlights 2012: 32.Shadows 2012: 90.Whites 2012: 29.Blacks 2012: 23.Clarity 2012: 22.0.30.70.0.40.60.Tone Curve: 0, 0, 217, 253.Red Curve: 0, 0, 255, 255.Green Curve: 0, 0, 255, 255.Blue Curve: 0, 0, 255, 255.Camera Profile:  "Camera Neutral".Camera Profile Digest:  "1E857003C9587B16936E44B920FCBF3E".Lens Profile Setup: 0.Lens Profile Name:  "Adobe (Nikon AF-S NIKKOR 28-300mm f/3.5-5.6 ED VR)".Lens Profile File:  "NIKON D3X (Nikon AF-S NIKKOR 28-300mm f3.5-5.6 ED VR) - RAW.lcp".Lens Profile Digest:  "91C7B6F78E178553C6EB92F248C46F53".Lens Profile Distortion: 100.Lens Profile Aberration: 100.Lens Profile Vignetting: 100.Process Version: 101122048.Retouch:  "".Red Eye:  "".Local Adjustments:  "". "".Crop Top: 0.Crop Left: 0.Crop Bottom: 0.Crop Right: 0.Crop Angle: 0.Space: Adobe RGB (1998).Depth: 16 Bits/channel.Resize to Fit: Off.Resolution: 300.Resolution Unit: Pixels/inch.Output Sharpen For: None..Crop.Crop.To: rectangle.Top: 0 pixels.Left: 1914.2 pixels.Bottom: 4912 pixels.Right: 5188.9 pixels.Angle: 0°.With Delete Cropped Pixels.<unknown>..Levels.Levels.Preset Kind: Custom.Adjustment: levels adjustment list.levels adjustment.Channel: composite channel.Gamma: 0.87..Auto Contrast.Levels.With Auto Contrast..Auto Tone.Levels.With Auto..Brightness/Contrast.Brightness/Contrast.Brightness: 5.Contrast: 10.Without Use Legacy..Auto Contrast.Levels.With Auto Contrast..Auto Tone.Levels.With Auto..2014-11-26T08:47:41-06:00.File M:\new\6s-2014.1031-nef.halloween\best\238178\6s-2014.1031-238178.halloween.rps.tif saved.Save.As: TIFF.Byte Order: IBM PC.In: M:\new\6s-2014.1031-nef.halloween\best\238178\6s-2014.1031-238178.halloween.rps.tif.107..2014-11-26T08:48:24-06:00.File M:\new\6s-2014.1031-nef.halloween\best\238178\6s-2014.1031-238178.halloween.rps.jpg saved.
[XMP-crs]       Contrast 2012                   : +15
[XMP-crs]       Luminance Noise Reduction Contrast: 0
[XMP-crs]       Tone Curve Name                 : Medium Contrast


The XMP-photoshop:History shows "Contrast: 10", which is definitely different than Contrast2012, which is +15.   So I agree with your comment, but I can't answer why Photoshop writes different values for these.

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

BrianP

>>  agree with your comment, but I can't answer why Photoshop writes different values for these.

I have cases in which I performed an adjustment multiple times (rough adjustment, run filter, final tweak), but they (at least sometimes) both show up in HISTory and your number agrees with one of them. I have never seen outright disagreement before.

I think I will just use your # if there is a conflict.  At least this way, I have a better scapegoat than moi-même.  :)

I monkey-saw, monkey-copied these ExifTool default values used when instantiating a NEW EXIFTOOL.

%ET_OPT = (FastScan => 1, FixBase => 1, MakerNotes => 1, Duplicates => 0);  # ExifTool Perl mod options

Are these still reasonable default values? It has been ?years? since I codified them.

Phil Harvey

Your options look reasonable, but you will be a better judge of what options are appropriate to your requirements.

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