Can corrupt Canon CR2 RAW photos be repaired

By | July 9, 2018

Can corrupt Canon CR2 RAW photos be repaired?

Unfortunately I know of no software that can successfully repair corrupt Canon CR2 RAW Canon files. Please leave a comment if you do because I’d love to link to it! That being said, depending on your situation there may be options:

  • If the corrupt CR2 file is the result of using file recovery software to recover lost files from a memory card it is likely the corrupt files are a result of file fragmentation. Almost all file and photo recovery software fails at recovering non contiguous files. Our software JPEG Recovery LAB can however reconstruct such files.
  • It is often possible to extract JPEG data from corrupt Canon CR2 files using my freeware JpegDigger.
corrupt Canon CR2, it ain't a pretty sight

Example of CR2 file with 25% missing data due to fragmentation


Recovering CR2 raw images from a memory card

Memory cards in devices such as Canon EOS digital cameras are typically using FAT32 or exFAT file systems. Due to how these file systems keep track of clusters allocated to a file and the fact that this info is usually lost after file deletion file fragmentation is an issue. Generic file recovery software can not determine clusters allocated to the lost file using file system structures.

Specialized photo recovery software often ignores the file system and scans for file headers or magic bytes to located lost files. Using this method it is possible to figure out where the CR2 file starts. Typically the software keeps scanning until it finds the next image header and assumes everything from the file signature upto the next file start belongs to the lost CR2 photo. However for fragmented or non contiguous files this is not the case. These header/footer scanners can not recover intact non contiguous files.

Recovering such images requires advanced file carving software like JPEG Recovery LAB. Using a variety of techniques JPEG Recovery LAB is able to reconstruct non contiguous corrupt Canon CR2 files  from memory cards.

Recover corrupt Canon CR2 RAW photos

JPEG Recovery LAB does not repair corrupt CR2 files after they already have been recovered by other data recovery software! It needs to scan the memory card or a disk image file of that image card to recover the corrupt CR2 raw files.

Download and install JPEG Recovery LAB

You can install JPEG Recovery LAB like any other Windows software so I will not cover this in detail.

It is however good to be aware of the fact that the software is not digitally signed and frequently updated. As a consequence Windows SMART Screen may warn you the software is potentially unsafe. You will have to take my word for it when I tell you it is safe.

Also note that the system requirements are high, specially when it comes to RAM: 2 GB per CPU core, 8 GB minimum. The more cores, the better.

Select the memory card or memory card

  • In most cases Windows will assign the memory card a drive letter and if so, select that to scan the card. This is preferred specially if you need to recover only deleted files (so, not lost due to accidental format or corruption).
  • If no drive letter is assigned you need to select the device itself (probably a card reader of some sort).
  • JPEG Recovery LAB can also process a so called raw disk image, that is a sector by sector copy of the memory card.


  • Even if you’re only after CR2 photos it is advised to select JPEG and MP4 video too if the camera was to configured to also generate JPEGs alongside the CR2 photos and if you recorded video. Knowing where these files are helps JPEG Recovery LAB determine where to look for the CR2 files.
  • Low on memory (8 GB or less)? Limit the number of parallel threads in settings . Also it helps if you disable video preview.
  • If you only need to recover deleted files check the option to only search unallocated space. This option is only available if you’re scanning a drive letter.


JPEG Recovery LAB needs a lot of time, so be prepared for that. It is also not uncommon that it appears to be stuck in the sense that the progress for a specif operation doesn’t change for a while. You can view the Resource usage TAB and see JPEG Recovery LAB is hard at work.

Recover Canon CR2 RAW photos using JPEG Recovery LAB


The further into the process the faster the recovery tends to progress as the number of combinations JPEG Recovery LAB needs to test decreases.

File selection

As soon as ‘files so far’ is non zero you can preview files and even copy them in the results TAB. By default JPEG Recovery LAB organizes files into three categories:

  1. Contiguous:It was determined these files are intact and stored as a contiguous block of data.
  2. Fragmented: It was determined these files are intact and correctly reassembled fragmented files.
  3. Damaged: These files are corrupt and/or can not be reconstructed.

All previews are generated from actual image data! This means that if the preview is intact it is guaranteed the corrupt Canon CR2 file can be recovered correctly and intact too.

Extract JPEG data from corrupt CR2 RAW files

In general Canon CR2 files embed a JPEG file (or more than one even). There are tools available for extracting those, but most work only with intact CR2 files. I have created a freeware utility that ignores CR2 internal file structures and simply scans the file for JPEGs.

Even with corrupt CR2 files it often possible to extract the JPEG data. Something is better than nothing. Note than some commercial photo repair software that claims to be able to handle corrupt CR2 files does the exact same thing! Rather than actually repair a corrupt Canon CR2, they simply extract JPEG data.

JpegDigger is quite easy to use ..

There is no setup file, you simply extract jpegdigger.exe from the ZIP file. Now either browse to the folder containing the corrupt CR2 RAW files or drop on of the files from the folder on the jpegdigger.exe.

Important! Do NOT work on the original memory card! Instead copy the file to a folder on your hard drive!

JpegDigger will scan all CR2 files for embedded JPEGs and will extract them to a subfolder.


Leave a Reply

Your email address will not be published. Required fields are marked *