Lightroom 4.1: Canon 40D RAW to DNG import corrupted

  • 3
  • Problem
  • Updated 6 years ago
  • Solved
  • (Edited)
In an import from a Canon 40D raw shoot, I noticed one (so far) of the Lightroom 4.1 created DNGs was corrupted. I applied no processing.

The upload widget says a DNG is not an image file so I can't attach it.
Photo of Andrew Broome

Andrew Broome

  • 7 Posts
  • 1 Reply Like

Posted 6 years ago

  • 3
Photo of Dorin Nicolaescu-Musteață

Dorin Nicolaescu-Musteață, Champion

  • 703 Posts
  • 38 Reply Likes
Do you still have the original CR2 on you card or or a hard drive? Is it corrupted too?
Photo of Andrew Broome

Andrew Broome

  • 7 Posts
  • 1 Reply Like
I still have the CR2 and it looks okay; at least it is missing the obvious problem present in the DNG. The error in the DNG is a large white rectangle in the lower right portion with some wavy lines through it. The CR2 has none of this.

System is LR 4.1 on a Win7-x64 system that I just upgraded so I could move to LR4x. I had been running LR 2.4 under WinXP 32bit.
Photo of Andrew Broome

Andrew Broome

  • 7 Posts
  • 1 Reply Like
The cr2 converted to jpg with IfranView 4.33 & Canon plugin

The dng exported to jpg via LR 4.1

I had 5 other images from the same shoot have the same thing happen to varying degrees. The other shoots I imported at the same time from different days all look to have converted correctly.
Photo of Eric Chan

Eric Chan, Camera Raw Engineer

  • 616 Posts
  • 119 Reply Likes
I suspect the drive that contains the DNG developed bit errors that affected the DNG (but not the CR2). This is the exact type of visual symptom I would expect to see from a bit error in the DNG compressed data stream.

If you have backup of the DNG, you can restore from that. Otherwise, since you have the CR2, you can always do a fresh conversion from the CR2 to a DNG, and replace the busted one. And I would suggest running some type of disk utility on your drive to check for errors, drive integrity, etc.
Photo of Nicolai

Nicolai

  • 2 Posts
  • 0 Reply Likes
I get a similar problem with one image here, taken on my Canon 60D.

I have an image from my Canon 60D that gets a serious visual distortion when converting in both DNG Converter 6.7 and Lightroom 4.1 - so it would seem like it triggers a bug in Camera Raw.

I have extracted the original CR2 file and imported in LR, and it gets distorted after doing one adjustment.

The file opens perferctly with IRFanView and Picasa but Portrait Professional, Photoshop Elements and any other Camera Raw gets the error.

I have tried with my pre-conversion backup which are stored on a secondary harddrive, and it is identical to the extracted original from the DNG.

So either the camera made a bit error in the image, the card is faulty or (which I tip most likely) Camera Raw has a bug that is triggered by a few obscure bit combinations in CR2 files.

I've anonymized the photo so you can see what goes on.

If the Adobe developers need my CR2 file then it I can send it, but not in an open forum ;)

Br
Nicolai
Photo of Eric Chan

Eric Chan, Camera Raw Engineer

  • 616 Posts
  • 119 Reply Likes
Unfortunately the image data is corrupted. Do you have a backup from which you can restore?

(It is likely that the reason the image looks ok in the other software is because the other software is only showing you the embedded JPEG preview; the JPEG preview may be ok, but the raw data itself -- which is what ACR/LR is showing you -- appears to be corrupt.)
Photo of Andrew Broome

Andrew Broome

  • 7 Posts
  • 1 Reply Like
Interesting. It does look like my original image file is corrupt. I had Irfanview set to the default of "try to load embedded preview image". When turning that off, I see the same corrupted area

Now the question as to what is causing the corruption. I don't think it is the disk, but it is possible.

Anyway, this looks like it is something not in the realm of Adobe to resolve.

Thanks Eric!