Copy link to clipboard
Copied
I removed EXIF from a DNG as test but ACR won't open DNG,
also DNG converter won't open it when attempting to convert
DNG ===> DNG in hopes that this would let ACR open it.
How do I get EXIF-less DNG to once again open in ACR???
Manually add some EXIF info?
Copy EXIF info from any other DNG?
Or??? Thanks in advance.
As a matter of curiosity, I looked at the DNG. Diagnostics below.
But, in summary, the file is trashed - it hasn't just had it's EXIF data removed, it's been structurally destroyed. Note the various "*** Warning: IFD 0 NewSubFileType has unexpected type (Short) ***" messages, the color matrixes are impossible, etc, etc. My opinion is, there is no way to recover that with any conventional tool. My suggestion - whatever tool created this mess, don't ever use it for anything else ever again.
Processi
...Copy link to clipboard
Copied
JeffGreenberg wrote
I removed EXIF from a DNG as test but ACR won't open DNG,
Manually add some EXIF info?
Copy EXIF info from any other DNG?
Or??? Thanks in advance.
You should try those options.
But why in the world are you messing around deleting, removing, EXIF data from a Digital NeGative file. For what purpose?
By doing so you seem to have destroyed the DNG file.
Copy link to clipboard
Copied
> You should try those options.
Thanks. Am seeking authoritative answer.
Copy link to clipboard
Copied
Not sure will will receive Authoritative answers because I doubt no one else removes EXIF data from DNG RAW files and then tries to reenter it.
Best of luck to you.
Copy link to clipboard
Copied
There are lots of EXIF-deleting programs offered, some free.
And there will be knowledgeable persons knowing solutions.
Patience pays. Real answers vs. post padding...
Copy link to clipboard
Copied
According to Wikipedia, DNG contains mandatory metadata, which - since EXIF is the preferred metadata format in DNG - means you've removed something mandatory. If it contained no important information it wouldn't be mandatory, or so it seems to me. My suggestion, since anyone who tells you this is just a daft thing to do is clearly just padding their post count, is to refer to the DNG specification and make your own determination. http://wwwimages.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/dng_spec_1.4.0.0.pdf
Copy link to clipboard
Copied
Seeking solution, not links to wiki definitions.
Data was deleted using free EXIF Pilot program.
It has delete, export, import functions, etc.
Common sense says these functions are used
for various purposes other than to be unable
to open a cleared DNG with ACR.
Was able to export EXIF+IPTC+XMP from
another "working" DNG, but when I imported
data into nonworking DNG, only the EXIF+IPTC
was imported & got a "can't parse" message
in ACR. Someone will know, waiting patiently...
Copy link to clipboard
Copied
Copy link to clipboard
Copied
> EXIF from any DNG won't help; it would have to be from same camera, else all sorts of things won't match.
What about two bodies, same brand-model, same firmware, etc.?
I assumed only serial #s differ -- is that wrong & there are other issues?
Thanks in advance!
Here's link if others want same:
Adobe - DNG SDK : For Windows : Adobe DNG Software Development Kit (SDK) 1.4 : Thank You
Copy link to clipboard
Copied
Same model bodies would be probably be ok. There might be issues with settings; some cameras e.g., change black levels with ISO, etc. But that's rare.
Copy link to clipboard
Copied
Thanks for response.
When I downloaded & clicked on "dng_validate.exe" there is no reaction...
What I tried without success, using "EXIF Pilot" free program:
1. export data from working DNG to Excel (also at link)
2. import that Excel data into broken DNG
EXIF Pilot exports IPTC+EXIF+XMP but imports IPTC+EXIF = problem...?
If anyone interested in reporting successful repair & steps taken...?
link to broken & working DNG + Excel data, same camera:
Copy link to clipboard
Copied
As a matter of curiosity, I looked at the DNG. Diagnostics below.
But, in summary, the file is trashed - it hasn't just had it's EXIF data removed, it's been structurally destroyed. Note the various "*** Warning: IFD 0 NewSubFileType has unexpected type (Short) ***" messages, the color matrixes are impossible, etc, etc. My opinion is, there is no way to recover that with any conventional tool. My suggestion - whatever tool created this mess, don't ever use it for anything else ever again.
Processing "/Users/sandy/Downloads/Broken.DNG"...
Uses little-endian byte order
Magic number = 42
IFD 0: Offset = 8, Entries = 30
*** Warning: IFD 0 NewSubFileType has unexpected type (Short) ***
NewSubFileType: Preview Image
BitsPerSample: 8 8 8
Compression: JPEG
PhotometricInterpretation: YCbCr
*** Warning: IFD 0 Make is not NULL terminated ***
Make: "DJI"
*** Warning: IFD 0 Model is not NULL terminated ***
Model: "FC6310"
Orientation: 1 - 0th row is top, 0th column is left
*** Warning: IFD 0 Software is not NULL terminated ***
Software: "v01.02.1478"
*** Warning: IFD 0 DateTime has unexpected count (19) ***
*DateTime:*** Warning: IFD 0 DateTime is not NULL terminated ***
"2017:02:19 10:10:49"
SubIFDs: IFD = 3992 4734
XMP: Count = 3171, Offset = 426
XMP: <?xpacket begin="\357\273\277" id="W5M0MpCehiHzreSzNTczkc9d"?>
XMP: <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0-Exiv2">
XMP: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
XMP: <rdf:Description rdf:about=""
XMP: xmlns:xmp="http://ns.adobe.com/xap/1.0/"
XMP: xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
XMP: xmlns:dc="http://purl.org/dc/elements/1.1/"
XMP: xmlns:drone-dji="http://www.dji.com/drone-dji/1.0/"
XMP: xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
XMP: xmp:ModifyDate="2017-02-15"
XMP: xmp:CreateDate="2017-02-15"
XMP: tiff:Make="DJI"
XMP: tiff:Model="FC6310"
XMP: dc:format="image/dng"
XMP: drone-dji:AbsoluteAltitude="+15.13"
XMP: drone-dji:RelativeAltitude="+10.60"
XMP: drone-dji:GimbalRollDegree="+0.00"
XMP: drone-dji:GimbalYawDegree="+100.00"
XMP: drone-dji:GimbalPitchDegree="-12.80"
XMP: drone-dji:FlightRollDegree="+1.20"
XMP: drone-dji:FlightYawDegree="+99.90"
XMP: drone-dji:FlightPitchDegree="+1.70"
XMP: drone-dji:CamReverse="0"
XMP: drone-dji:GimbalReverse="0"
XMP: crs:Version="7.0"
XMP: crs:HasSettings="False"
XMP: crs:HasCrop="False"
XMP: crs:AlreadyApplied="False"/>
XMP: </rdf:RDF>
XMP: </x:xmpmeta>
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP:
XMP: <?xpacket end="w"?>
ExifIFD: 4926
GPSInfo: 5440
DNGVersion: 1.4.0.0
DNGBackwardVersion: 1.3.0.0
*** Warning: IFD 0 UniqueCameraModel is not NULL terminated ***
UniqueCameraModel: "FC6310"
ColorMatrix1:
0.7726 429496.4380 0.0118
-0.4213 1.2198 0.2259
429496.6820 0.1114 0.6346
ColorMatrix2:
0.7122 429496.5188 429496.6784
429496.4140 1.1201 0.2231
-0.0541 0.1423 0.5045
AnalogBalance: 1.0000 1.0000 1.0000
*** Warning: IFD 0 AsShotNeutral has unexpected type (Short) ***
AsShotNeutral: 45656.0000 6.0000 16960.0000
BaselineExposure: +0.00
BaselineNoise: 1.00
BaselineSharpness: 1.00
LinearResponseLimit: 1.00
*** Warning: IFD 0 CameraSerialNumber is not NULL terminated ***
CameraSerialNumber: "62294316f246cc08efe5a270c8184a35"
*** Warning: IFD 0 LensInfo has unexpected count (2) ***
*LensInfo: Rational = 24/1 24/1
*** Warning: IFD 0 ShadowScale has unexpected type (SRational) ***
ShadowScale: 1.0000
DNGPrivateData: Count = 125, Offset = 3866
44 4a 49 20 00 00 00 00 00 00 00 00 00 00 00 00 DJI ............
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 .............
CalibrationIlluminant1: Standard light A
CalibrationIlluminant2: D65
NextIFD = 5604
Chained IFD 1: Offset = 5604, Entries = 3
Compression: Old JPEG
JPEGInterchangeFormat: 5646
JPEGInterchangeFormatLength: 3070
NextIFD = 0
SubIFD 1: Offset = 3992, Entries = 28
NewSubFileType: Main Image
ImageWidth: 5472
ImageLength: 3648
BitsPerSample: 16
Compression: Uncompressed
PhotometricInterpretation: CFA
StripOffsets: Offset = 8716
SamplesPerPixel: 1
RowsPerStrip: 3648
StripByteCounts: Count = 39923712
PlanarConfiguration: 1
CFARepeatPatternDim: Rows = 2, Cols = 2
CFAPattern:
Red Green
Green Blue
CFAPlaneColor: Red Green Blue
CFALayout: Rectangular (or square) layout
BlackLevelRepeatDim: Rows = 2, Cols = 2
BlackLevel:
3195.00 3190.00
3190.00 3194.00
WhiteLevel: 65535
DefaultScale: H = 1.0000 V = 1.0000
DefaultCropOrigin: H = 4.00 V = 4.00
DefaultCropSize: H = 5464.00 V = 3640.00
BayerGreenSplit: 0
AntiAliasStrength: 1.00
BestQualityScale: 1.0000
ActiveArea: T = 0 L = 0 B = 3648 R = 5472
OpcodeList1: count = 0, offset = 4302
OpcodeList3: count = 256, offset = 4446
DefaultUserCrop: T = 0.00 L = 0.00 B = 1.00 R = 1.00
NextIFD = 0
SubIFD 2: Offset = 4734, Entries = 9
*** Warning: SubIFD 2 NewSubFileType has unexpected type (Short) ***
NewSubFileType: Preview Image
BitsPerSample: 8 8 8
Compression: JPEG
PhotometricInterpretation: YCbCr
PlanarConfiguration: 1
YCbCrCoefficients: R = 0.299, G = 0.587, B = 0.114
YCbCrSubSampling: H = 2, V = 2
YCbCrPositioning: 2
ReferenceBlackWhite: 0.0 255.0 128.0 255.0 128.0 255.0
NextIFD = 0
Exif IFD: Offset = 4926, Entries = 29
ExposureTime: 1/30.0 sec
FNumber: f/2.80
ExposureProgram: Program Normal
ISOSpeedRatings: 320
ExifVersion: 2.30
*** Warning: Exif IFD DateTimeOriginal has unexpected count (19) ***
*DateTimeOriginal:*** Warning: Exif IFD DateTimeOriginal is not NULL terminated ***
"2017:02:19 10:10:49"
*** Warning: Exif IFD DateTimeDigitized has unexpected count (19) ***
*DateTimeDigitized:*** Warning: Exif IFD DateTimeDigitized is not NULL terminated ***
"2017:02:19 10:10:49"
ShutterSpeedValue: 0.50 sec
*** Warning: The ExposureTime and ShutterSpeedValue tags have conflicting values ***
ApertureValue: f/2.80
ExposureBiasValue: 0.66
MaxApertureValue: f/2.8
SubjectDistance: 0/1
MeteringMode: CenterWeightedAverage
LightSource: Unknown
Flash: 32
No flash function
FocalLength: 8.8 mm
CustomRendered: Normal process
ExposureMode: Auto exposure
WhiteBalance: Auto white balance
DigitalZoomRatio: Not used
FocalLengthIn35mmFilm: 24 mm
SceneCaptureType: Standard
GainControl: None
Contrast: Normal
Saturation: Normal
Sharpness: Normal
SubjectDistanceRange: Unknown
*** Warning: Exif IFD CameraSerialNumberExif is not NULL terminated ***
CameraSerialNumberExif: "62294316f246cc08efe5a270c8184a35"
*** Warning: Exif IFD LensSpecificationExif has unexpected count (2) ***
*LensSpecificationExif: Rational = 24/1 24/1
NextIFD = 0
GPS IFD: Offset = 5440, Entries = 8
GPSVersionID: 2.0.0.0
*** Warning: GPS IFD GPSLatitudeRef is not NULL terminated ***
GPSLatitudeRef: "N"
GPSLatitude: 0.0000 0.0000 0.0000
*** Warning: GPS IFD GPSLongitudeRef is not NULL terminated ***
GPSLongitudeRef: "E"
GPSLongitude: 0.0000 0.0000 0.0000
GPSAltitudeRef: Sea level reference (negative value)
GPSAltitude: 35.4400
*** Warning: GPS IFD GPSMapDatum is not NULL terminated ***
GPSMapDatum: "WGS-84"
NextIFD = 0
*** Warning: This file has Chained IFDs, which will be ignored by DNG readers ***
No decodable MakerNotes found
*** Error: Missing or invalid ImageWidth (IFD 0) ***
*** Error: Missing or invalid ImageWidth (SubIFD 2) ***
*** Error: Matrix math error ***
*** Error: ColorMatrix1 is not invertable ***
*** Error: File format is invalid ***
Copy link to clipboard
Copied
Thanks! Data was deleted with EXIF Pilot free program.
I have questioned them directly -- they seem to be based in (gulp) Serbia!!!
From this point on I will only delete EXIF in JPGs before submitting to agencies.
(only some images for various reasons)
The big mistake was deleting from DNG, not JPG very last step after processing...
Just used EXIF Pilot on JPGs from some good DNGs
Copy link to clipboard
Copied
Good luck with that.