Skip to main content
johnrellis
Legend
March 20, 2024

P: Exporting DNG (from Merge) as a new DNG w/ Compatibility set to 14.0 creates a damaged file

  • March 20, 2024
  • 20 replies
  • 2514 views

Exporting a photo-merged DNG as a DNG with compatibility Camera Raw 14.0 And Later creates a DNG that can't be opened in either Photoshop Camera Raw or in LR Develop.


Tested with LR 13.2 and Camera Raw 16.2 on Mac OS 14.2.1.

 

1. Open this small catalog:

https://www.dropbox.com/s/dzg9nvdz727wgam/merge-export-dng-bug.2024.03.25.zip?dl=0 

 

2. Select both photos and do Photo > Photo Merge > HDR with these settings:

 

3. Select the merged DNG and Export with these settings:

 

4. Open the exported DNG in Photoshop and observe the error "The file appears to be damaged":

 

5. Import the exported DNG into LR, go to Develop, and observe the error, "The image appears to be damaged":

 

6. Repeat step 3 with Compatibility: Camera Raw 15.3 And Later, and observe the exported DNG opens without error in both Photoshop and LR Develop.

 

 

This topic has been closed for replies.

20 replies

Adil36199917kev4
Participating Frequently
March 26, 2024

The export of DNG file was using LrC which is causing the issue of importing the same file back into Lr - so the issue belongs here as it appears LrC export process is the issue 

johnrellis
Legend
March 26, 2024

"Are you refering to Lightroom Classic (LrC) or Lightroom (Lr) when using "LR" terminology?"

 

As mentioned by @Lumigraphics, this is the Lightroom Classic forum, and unless otherwise specified "Lightroom" and "LR" refer to LR Classic.

 

"I have tried setting Compatibility: Camera RAW 15.3 or later Lightroom develop still fails however PS works without error - the same if I export choosing "Original" ... It's the cloud version of Lightroom (Lr) (version 7.2) that has this problem when importing the exported DNG file"

 

Thanks for the clarification.  

 

Using the LR Classic catalog and test images I posted above, I tested the ability of LR Desktop 7.2 to import a merged photo created by LR Classic 13.2, and I only see an error when exporting as DNG with Compatibility: Camera Raw 14.0 And Later:

 

Merged photo: no error

Merged photo exported as Original DNG: no error

Merged photo exported as DNG 15.3 And Later: no error

Merged photo exported as DNG 14.0 And Later: error

 

This is expected, since LR Classic 13.2, LR Desktop 7.2, and Camera Raw 16.2 all have the same version of the Camera Raw engine inside, and thus we'd expect them all to behave similarly. But if you have a sample merged photo that doesn't, please share it.

Legend
March 26, 2024

This is the Lightroom Classic forum, you are having problems reading files in Lightroom CC/Desktop?

Adil36199917kev4
Participating Frequently
March 26, 2024

Hi Rikk

 

Are you refering to Lightroom Classic (LrC) or Lightroom (Lr) when using "LR" terminology? Its the cloud version of Lightroom (Lr) (version 7.2) that has this problem when importing the exported DNG file - see below

quote

Exporting a photo-merged DNG as a DNG with compatibility Camera Raw 14.0 And Later creates a DNG that can't be opened in either Photoshop Camera Raw or in LR Develop.


Tested with LR 13.2 and Camera Raw 16.2 on Mac OS 14.2.1.

 

1. Open this small catalog:

https://www.dropbox.com/s/dzg9nvdz727wgam/merge-export-dng-bug.2024.03.25.zip?dl=0 

 

2. Select both photos and do Photo > Photo Merge > HDR with these settings:

 

3. Select the merged DNG and Export with these settings:

 

4. Open the exported DNG in Photoshop and observe the error "The file appears to be damaged":

 

5. Import the exported DNG into LR, go to Develop, and observe the error, "The image appears to be damaged":

 

6. Repeat step 3 with Compatibility: Camera Raw 15.3 And Later, and observe the exported DNG opens without error in both Photoshop and LR Develop.

 

 


By @johnrellis

 

johnrellis
Legend
March 26, 2024

"I have tried setting Compatibility: Camera RAW 15.3 or later Lightroom develop still fails however PS works without error - the same if I export choosing "Original""

 

I'm not able to reproduce that using test test catalog and images I published above, merging and exporting the 15 raws you published above, or exporting the four merged DNGs you published.  In call cases, using Compatibility: Camera Raw 15.3 Or Later produces exported DNGs that can be successfully re-imported in my LR 13.2.

 

Perhaps you could upload one of the merged DNGs that fails to export correctly in your LR 13.2, and I can see if that happens in my LR.

Adil36199917kev4
Participating Frequently
March 26, 2024

Hello I have tried setting Compatibility: Camera RAW 15.3 or later Lightroom develop still fails however PS works without error - the same if I export choosing "Original"

Rikk Flohr_Photography
Community Manager
March 26, 2024

Adding bug number and updating status.

Rikk Flohr: Adobe Photography Org
Adil36199917kev4
Participating Frequently
March 26, 2024

Hello another workaround is to export as  "Original" as opposed to DNG

Adil36199917kev4
Participating Frequently
March 25, 2024

Lightroom Classic is up to date, can you. be specific on what export preferences I should be looking at as their is no "export tab" under preferences to check? There have been no reported errors on export from LRc throughout this process. I am engaged with Adobe support on this issue. Will try to reset preferences as described.

 

Thanks

Adil36199917kev4
Participating Frequently
March 20, 2024

Hello

 

I am a real estate photographer and I use HDR bracketing for many of my clients in cluding Airbnb. My normal work flow is to import bracketed RAW files from my Sony A7C into Lightroom Classic (13.2). I then group each bracket into a stack and then select all stacks and right click "photo merge to HDR". This then bulk processes all of the stacked images to generate HDR images in DNG format. One of my clients needs to receive the merged HDR files in DNG format which has worked flawlessly these past two years. However on my last two jobs for ths client the client reported that the merged HDR DNG files I have submitted were corrupted.

 

I have done analysis on this and can easily recreate the problem. I am running an apple macbook pro M2 running Sonoma 14.4. If I select one of the processed merged HDR files and export it to DNG format - on the surface all looks OK with no errors reported on export. However if I try to upload the exported DNG file back into lightroom or photoshop I get an error message "The file appears to be damaged".

 

However if I import the same file into a non adobe product like Affinity Photo I get no error message. If I export the same HDR merged DNG file from Lightroom Classic to a diferent format tiff or jpeg there is no issue when reloading that image back into lightroom. I have have also tried exporting as format set as  "original" which also creates a DNG file on export albeit much smaller resolution than the original DNG exported file. This file can also be loaded back into Adobe products without error.

 

The work around I have to do is take the exported HDR DNG files and run them through Adobe DNG Converter which looses some resolution as the image reduces slightly  in size after this process. These files can then be uploaded back into Lightroom Classic and Photoshop without ereror messages.

 

Seems Lightroom may experience issues when exporting merged DNG files as a DNG file?

 

Anyone else had this issue and can advise?

 

Many thanks

 

Adil

Brighthouse Photography Limited

Legend
March 20, 2024

Are you using local storage (not cloud/network?) And try changing the file extension from .dng to .tif, what happens?

Adil36199917kev4
Participating Frequently
March 20, 2024

The client requirement is to receive merged HDR files in DNG format. If I export in any other type of format e.g tiff, jpeg, etc there is no issue re-importing those to Lightroom.