Alley in Pisa, Italy

by Lars Kotthoff

submit your photo


Hall of Fame
View past winners from this year

Please participate in Meta
and help us grow.

Take the 2-minute tour ×
Photography Stack Exchange is a question and answer site for professional, enthusiast and amateur photographers. It's 100% free, no registration required.

I came home from a recent trip to Gettysburg with almost 1500 photos. Among them were a handful that appear to have been corrupted, as shown below. It was hot during the hikes -- ambient temperature was near or above 100 Fahrenheit, so I suspect the heat contributed to the problem.

These files exhibit some interesting behavior:

  • When I view them in Lightroom or Windows Explorer, the files show normally for a split-second, then are over-painted with the light area you see below.
  • If I try to open the file in Canon's Digital Photo Professional, the thumbnail view shows the complete (uncorrupted) file, but DPP refuses to open the files for processing, saying that they're corrupt.

I haven't tried to figure out if all the files came from the same card, but all cards were formatted in-camera prior to the trip.

I don't believe I've lost anything important at this point, as I shot multiple frames of most subjects, but I'd really like to know what caused this problem, and what, if anything can be done to resurrect these files.

corrupt raw files

share|improve this question
3  
The view/thumbnail you see for a split second is probably the embedded JPG image? You might use a utility to extract that from the raw file, if it will read it. –  MikeW Jul 27 '11 at 4:34
2  
See also photo.stackexchange.com/questions/6045/… –  Evan Krall Jul 27 '11 at 4:39
2  
@Evan-Krall - Different-looking corruption, but quite possibly the same problem. –  D. Lambert Jul 27 '11 at 4:54
3  
Is the camera a 7d? If so there's a known problem that means randomly some pics get corrupted when taken. The pics can't be fixed, but the problem can with a firmware update. –  Dreamager Jul 27 '11 at 8:19
1  
@Mark posted a question for you, D. Lambert: photo.stackexchange.com/questions/38594 –  BlueRaja - Danny Pflughoeft Apr 29 '13 at 18:26

7 Answers 7

up vote 2 down vote accepted

I can only answer your second question - i.e. if anything can be done to resurrect these files. As others have mentioned, that uncorrupted version you're seeing briefly as you import them into Lightroom is the preview JPEG generated in-camera when you shoot RAW. There are plenty of tools that will recover those previews for you, hopefully even if the RAW file itself is corrupted. (The fact that you're seeing the previews in other software is an encouraging sign.)

Check this accepted answer for a list of software. I've tried dcraw and it worked a treat.

Good luck!

share|improve this answer
    
In all cases where I've seen this sort of corruption, I've been able to save the JPG embedded in the RAW file. As near as I've been able to tell, this is the best available recovery mechanism. I've tried to discern a pattern with respect to specific cards, etc., and haven't been able to do so (speaking to the "bad card" aspect of the question), so at this point, I'm going to accept this answer as "best available", and chalk the failure up to "sometimes bad things happen". I do, however, have a better appreciation for the dual slots found in pro cameras, now. –  D. Lambert Apr 29 '13 at 19:23

Maybe pre-embedded virus in the cards, most likely from less popular brands; the same people that sell you raw file repair software.

Sure, people would exchange the cards in fear of them being defective. But some pictures people lose can be very valuable which most likely covers the returns.

share|improve this answer

Possible causes:

Bad CF/Flash card

Power surge

Cellphone interference (never keep your card in your pocket next to your phone)

Microwaves (This happened to me at a factory once)

File transfer (try importing again)

Gremlins (They really do live in cameras)

share|improve this answer

Possible causes of the problem.

  1. The memory card used is does not meet the standard requirement of the DSLR, e.g. (the required SDCard should be class 6, but the installed is of lower class). This can be a critical factor that's why it is wise to check the requirement first before buying. Not all memory cards are the same.

    1. The Memory card is damaged. External factors are possible, but there is also one possible software factor. When you use a file recovery software, what it does is (in layman's term) it destroys the latest electronic layer (which means the latest files) to retrieve the deleted files. Few background: When formatting the memory card, the files were not really deleted but rather it creates a new usable layer to cover all the previous files, thus the new layer will cater new files that will be store there. It is not advisable to regularly use a file recovery software, chances are, it will damage the memory card.

    2. Use the proper tool when transferring the photos from the card to the PC. A "drag-and-drop" method is NOT RECOMMENDED. Use the USB cable to connect the camera to the PC and the software provided by the manufacturer to ensure the quality of files during transfer.

share|improve this answer
    
+1 for card specs. I've absolutely seen problems with card specs in other cases -- my 7D, for instance, will shoot photos fine, but chokes on video with sub-spec cards. In these cases, I see an error right on the camera. In the case indicated here, I saw no error on the camera. Card specs are a possibility, of course, but I can tell you that the camera didn't complain at the time I shot the photos. –  D. Lambert May 2 '13 at 14:43

I think you have two questions:

  • what causes the file corruption:

bad flash memory, 80% of time.

  • When I view them in Lightroom or Windows Explorer, the files show normally for a split-second, then are over-painted with the light area you see below. Why?

Normal. A raw file usually embed a preview JPG and the program (OS, Lightroom etc) will first display the JPG, and then tries to render the raw file.

share|improve this answer

This is often down to transfer from card to computer, not corruption on the actual card.

I have found that Windows Explorer tends to be the culprit - do not copy files from your card simply by dragging/dropping in Explorer - use a different tool.

I have used the free 'FastCopy' file copier with 100% success. It has a verification option that you can use to confirm the files copied correctly.

ps. Don't rely on the CR2 preview in explorer (if you have this shell extension enabled) because it uses the embedded preview which may be fine. To test all files in a folder, I run the Adobe DNG converter to convert to DNG files, then use the DNG shell extension (google it) to preview in explorer. This shows up corrupt DNG files (from corrupt CR2 files) easily. Then you can go back and recopy those individual files from your flash card. But I've not had this problem at all since switching to FastCopy.

share|improve this answer

Most likely causes are a bad SD card (or at least one that needs formatting) or card reader/cable. Evan Krall posted a good link there.

Easy way to test is to get a different card and shoot a few hundred photos on it and see if the same happens. You mentioned the heat in your post; manufacturers do sometimes warn about what temperatures can affect electronics but I've not heard of it ever happen outside of the extreme cold but it's certainly a possible factor.

As for recovering the files: it may not be possible. There are a few software vendors out there making applications for this sort of thing but I've never tried them and can't vouch for any of them but this is a high-ranking one in Google: http://www.crwrepair.com/. I'd give this a quick look too especially as it's a free tool: http://eirikso.com/2009/03/23/how-to-rescue-images-from-a-corrupted-cf-card/

Of course, it's always worth seeing if it's a problem with the software you're using and not the actual RAW file first. Try opening the image using Adobe Camera RAW or another app just in case. Hope you get your photos back and enjoyed the trip to Gettysburg :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.