Jump to content
|Topic||Stats||Last action by|
|Redoing my network... (Part 2)||
|Windows Phone 8.1 Thread||
|SpaceX Dragon CRS-3 (ISS mission thread)||
|LCD Sweet Spot?||
|Intel NUC DCCP847DYE : Celeron 847 : Such a cute little machine.||
Posted 14 October 2012 - 00:10
Posted 14 October 2012 - 10:25
exiftool -b file.cr2 > file.jpg
Posted 14 October 2012 - 10:47
Posted 14 October 2012 - 13:33
Posted 11 December 2013 - 04:44
Get ExifTool and try the following.
Drag-and-drop one of your corrupted files on the exiftool executable and see if returns any EXIF data back. If it does and there are no warnings then the file header is in tact. If so then when you are trying to open that CR2 file with some other software that reads RAW files (ie Photoshop), the actual raw data is corrupt. You can't fix or recover that, so just forget about the raw data. If there's a line that says Preview or Jpeg From Raw, then you should be able to extract a fullsize JPEG. Better than nothing I guess.
If exiftool returns some EXIF data and a warning, then the header is partially in tact. If there's no mention of JPEG or Preview data, then you obviously won't be able to extract any previews. Recovering a header is possible, but only the bit that describes the file type. It is always at the beginning of the file. But having that doesn't mean you will be able to recover any data. File header contains pointers as to where to look for a specific file part. If that's missing, the data is useless, even if it's still good.
If the tool returns an error saying it can't read the file, then the header is broken right from the first or two bits of the file. You can fix that by matching it with a healthy file in a HEX editor; can be tricky. This still doesn't mean you will get any results. If the rest of the header or file is broken, you will not get any results.
Command line for extracting JPEG preview:exiftool -b file.cr2 > file.jpg
Hi there, are there any services to do this? I used the first part of your guide and recovered ten shots, but i have 13 more that are 25+Mb but can't be read by an exif reader. Could fixing the HEX file header fix these files or is it possible to at least try? happy to pay of course. email@example.com I had a stack of family shots but just a few (these 13) corrupted when being copied from the card.
Posted 11 December 2013 - 17:49