Need help - Will Pay $ - Someone Familiar with Repairing CR2 files?


 Share

Recommended Posts

RobertBetz

Had a hard drive go south prior to backup of a wedding. Am in desperate need. Recovered from original media card the CR2 files I shot; was near 800 in all. All but 100 of them are corrupted as recovered from the CF card. They are all recognized as CR2 files in Explorer and even have the correct file sizes. But neither Lightroom, Canon Photo Utility, Photoshop or any other editors will open them. I've tried ExiftTool to extract JPGs, got file format errors. I have a Hex Editor but can't make heads or tails of what I'm looking at. I'm out of options and don't want to have to tell this couple I have lost their photos. Anyone out there have experience with repairing this type of file corruption that can do the work or have suggestions? PLEASE. Need help!!!!

Link to post
Share on other sites

RobertBetz

CR2Repair prompts me to download Stellar Photo Repair, which is the program I used to recover the CR2 files from the CF Card. But although it says in the description that the software can repair corrupted headers, I can't for the life of me figure out how to do that. 

Link to post
Share on other sites

vcfan

can you upload 2 files, ill take a look at them.

  • Like 1
Link to post
Share on other sites

Praetor

you can use PhotoInfo to recover the JPEG from the EXIF, if the header is still OK or has minor damage; if the header is very damaged than even if the data is still OK (doubt it), you can't access it. Please post the EXIFTool result here, so we can see if it's still possible to recover something. Also did you try PhotoInfo? There's also Quick JPEG from CR2, but i haven't tried it: http://www.gdzid.com/QJFC.htm

Link to post
Share on other sites

RobertBetz

The files are 22MB, will post elsewhere and put a link here. 

Link to post
Share on other sites

RobertBetz

_MG_8767.CR2

Main Info

 

Filename

_MG_8767.CR2

Directory

H:

Image type

Canon Raw File

Width

0 pixels

Height

0 pixels

File size

23.1Mb

File created date

11/25/2013 12:17:38 PM

File modified date

9/7/2013 5:30:30 PM

Bits Per Plane

8

Planes

3

Dpi

72 pixels

Link to post
Share on other sites

zhangm

Do you know what the original resolution of the images are?

Edit: I don't know what I'm doing.

http://sdrv.ms/1iMlFFn

Link to post
Share on other sites

RobertBetz

Yes. All of the images came from a Canon 7D, so they are 5184 x 3456 at 240dpi

Link to post
Share on other sites

zhangm

Yes. All of the images came from a Canon 7D, so they are 5184 x 3456 at 240dpi

Well, I guess these are about the right size... Are they supposed to have color?

Second image: http://sdrv.ms/1cLPosY

Link to post
Share on other sites

vcfan

tada

 

or8tV1x.png

 

edit:zhangm beat me to it.

 

anyways, just mangled headers. the header is in the middle of the file. to fix the image, start at the header, cut from there till the end of the file, this will include the header and some image data, and paste this back at the top of the file, so whatever you pasted is the header+some image data,then the rest of the data will follow. save and you have your image. its tedious if you have many images. i might be able to write you a program to automate it. i cant do it now though.

  • Like 1
Link to post
Share on other sites

RobertBetz

This is greek to me. Any help in salvaging these images would be so appreciated. Let me look over the post, get the program and take a stab. Worst case scenario I get nowhere and hire you :-)

There are 800 images. Need to salvage as many as I can. 
 

Link to post
Share on other sites

vcfan

turns out, this is just the lossless jpeg image that is stored as grayscale. there is still plenty of info in the file such as color that needs to be parsed. i'll definitely parse the file further hoping to demangle it so it displays correctly.

Link to post
Share on other sites

vcfan

ok heres the deal. it looks like in each of the 2 files you provided, there is the complete grayscale image, and some color data, about 1/4 color of the image. there is other data in the file, but this looks like color data of a different file. i tried replacing the 3/4 color data in one file from the other one you gave me, but it isnt the right one. the problem is that parts of different files are mangled in between and they may not be in order.

 

you provided image files 8767,and 8768. if you could upload 5 images before 8767 and 5 images after 8768, i could then try using the color information from those files into the 2 images i currently have. if the correct color exists in these for the 2 files i have, then hopefully there is a pattern where we could see for example 3 filename numbers back has the correct color information for us to complete the current numbered image.

Link to post
Share on other sites

+theblazingangel

If you want to get a raw byte-by-byte image of the entire memory card to me, perhaps from that I could attempt to repair the filesystem and see if we can get the entire set of files restored.

Link to post
Share on other sites

+theblazingangel

Instructions for doing the above (so you can get on with some of it if I've gone to bed):

 

Capturing the device image:

 

We're going to use the Linux dd command with a 'Live' Linux CD. (I'm presuming you're not using Linux as your main operating system right now, else some of this is redundant).

 

Note, in regards to storage space for saving this device image; The image file is going to be slightly larger than the total volume size of the memory card you're copying. Whether though you actually need this amount of space to store it depends on whether the file system of the device you're storing it on uses compression and if so how much space can be saved. FAT does not use compression, but NTFS does. If you're going to save it to a hard drive, it's perhaps unecessary to point this out, but if you're saving to a pen drive or another memory card, this fact may be important!

 

Also note, I'm generally presuming you're using a Windows computer and therefore NTFS; Ubuntu may 'mount' your NTFS partitions automatically, if not, the following instructions may help: http://superuser.com/questions/352157/mount-ntfs-windows-partition-on-ubuntu-live-cd

 

1) Download a Linux live CD (E.g the standard desktop Ubuntu install disk)

2) Burn it to disk

3) Reboot your computer and boot this (I presume you need no instructions here, ask if you do). At some point during booting it, it'll give you an option to "try ubuntu without making changes to your computer", that's the one you want.

4) Connect the memory card if you haven't already

5) Connect the device/card you're going to save the image file to, if necessary

6) Load a terminal (command prompt)

7) Enter the following, modifying the references to the devices as necessary:

sudo dd if=/dev/hda of=/dev/hdb/image.dd bs=512 conv=noerror,sync

Where /dev/hda is the device to copy from and /dev/hdb is the device to save the file to.

8) When it's completed, you can shutdown and boot your normal OS

 

Getting it to me:

 

We'll use torrents as an efficient mechanism if you're happy with that.

 

1) Download and install utorrent (or other client of choice)

2) File > create new torrent

3) Point it to the image file (image.dd) created above

4) Leave all other options as defaults, i.e. leave the public trackers, leave 'start seeding' checked, leave 'private torrent' UNchecked

5) Click 'create' and save the small torrent file somewhere

6) Email me that little torrent file (I can give you my email via PM)

7) I'll open the torrent file in my torrent client which will start copying the file over to my computer, we just need to leave our computers on until I've got it, then I can start to work on it

Link to post
Share on other sites

RobertBetz

Ok I am out most of the day but will do this tonight. Thanks for the help!!! 

Link to post
Share on other sites

+theblazingangel

Oh, something I forgot when writing the above instructions, when sending it to me, stick the image file in a zip file to compress it, then make the torrent with the zip file. That may reduce the size of the file to be transfered. I presume you need no instructions for this, but just ask if you do.

Link to post
Share on other sites

FiB3R

How large is this file going to be? Just thinking that using a service like http://ge.tt might be easier, if you are not a torrent user already.

 

 

What is the maximum/largest file size?

We do not limit the file size you can upload, but your account may not have enough storage space for the file. If that's the case you can upgrade your account to get more space.

Some browsers may limit you to 2GB per file. If this is a problem, then you can use a newer browser. Chrome is always a good choice.

 

What is the storage limit without an account?
You have 250MB of storage space without creating an account. If you create a free account you will receive 2GB space.
 
Link to post
Share on other sites

  • 2 weeks later...
RobertBetz

Tried this, can't find that address or sequence,,,

Link to post
Share on other sites

This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By indospot
      Google Photos can now automatically back up pictures from Canon cameras
      by João Carrasqueira



      Google has announced a new integration between its Google Photos storage service and Canon cameras. It's now possible to have photos from compatible Canon cameras backed up automatically to Google Photos, which should save users some trouble when transferring photos to a computer.

      The integration relies on the image.canon app, which is available on both Android and iOS. If you have a camera that's compatible with the app - a compatibility list can be found here - you can head into the app's settings to set an automatic backup to either Google Photos or Google Drive.

      The reason these are separate options is that Google removed the integration between the two services earlier this year, since users found it confusing. Google Photos integrates with some devices like smart photo frames so you can show off your pictures, whereas you can have random images stored on Google Drive that you don't want to be visible.

      Once you enable automatic syncing, photos will be backed up in original quality. The feature does require a Google One subscription, so it's not exactly free storage, but considering file sizes from professional cameras can be fairly large, you'd probably need more than the free storage tier anyway. Canon users get a free month of Google One with 100GB of storage, so you can get started that way and decide if it's worth it.

    • By eRajesh
      How to use Canon DSLR camera as a webcam with your PC
      by Rajesh Pandey



      With almost all major countries shutting down due to coronavirus outbreak, millions of people across the globe have been forced to work from home. This, in turn, has led to a rise in video meetings and conferences. The problem is that the webcam on most laptops can be of poor quality which means that the video call quality is going to be equally poor. Then, there are people with PCs who don't have a webcam. In both cases, people can buy a webcam from Logitech or any other company to solve the problem. However, there has been a spike in demand for webcams which has led to them being in short supply and their prices increasing dramatically as well.

      If you find yourself in a similar situation and have access to a Canon DSLR or PowerShot camera, you can use it as a webcam for your PC. While it is possible to use DLSRs from Nikon, Sony, and Fuji as a webcam with your PC as well, it requires one to buy a capture card which can cost anywhere between $100-$150. Canon DSLR owners though simply need a miniUSB/microUSB or USB-C cable to connect their camera to the PC and a utility from the company to turn their DSLR into a webcam.

      Another benefit of using a Canon DSLR as a webcam is that it will offer superior video quality compared to your laptop's webcam. So, if you are giving online presentations or holding classes online, you should consider using your Canon DSLR as a webcam for the superior video quality it offers instead of relying on your laptop's built-in webcam. One thing to note is that this method will only work if you have a Windows PC because the utility from Canon is currently not available for Macs.

      The following Canon DSLRs and PowerShot cameras are supported by the EOS Webcam Utility and can be used as a webcam.



      Step 1: Go to the Canon EOS Webcam Utility page on your PC and then select your camera model to download the utility. Proceed to install the utility on your PC and restart it after everything is done.

      Step 2: Grab your Canon camera, power it on, and set it to Movie mode. Depending on which Canon DSLR you own, you either need to rotate the mode selector dial to the icon that looks similar to a cinema camera or simply toggle between camera and movie mode using a dedicated button. After that, change the ISO levels, shutter speed, etc. as per your requirement.

      Image Source: Canon Step 3: Now proceed to connect your camera to your PC using a miniUSB/microUSB or USB-C cable. After that, open the video calling app of your choice like Zoom or Microsoft Teams. Go to the app settings, find the camera option, and select the EOS Web Utility beta from the camera dropdown list.



      Step 4: Wait for a few seconds and the feed from your Canon DSLR should show up on your PC. If it does not, make sure to quit Canon's EOS Utility app if you have it installed. If it still does not work, quit the video calling app you are in and repeat the steps again.

      You should now be able to use your Canon camera as a webcam for your PC.

      Skype users, do note that the version of the app that's available on the app store and the one that comes pre-installed on Windows 10 PCs does not work with the EOS Webcam Utility for some reason. You need to download and use the version of Skype that's available on Microsoft's website.

      If you are still facing any issues in trying to set up and use your Canon webcam as a DSLR on your PC, drop a comment so that we can help you out!

    • By Lee V
      Hi, i shoot a wedding recently and downloaded all the photos (Canon raw- CR2 files) from the CF card to hard drive, all the photos have the correct file sizes and If i’m scrolling down i can see the small previews perfectly but the problem start when i open the files. 
      few days after i opened the files on lightroom and all the photos from the card are corrupted! I tried open the files in alot of programs but in every program it was damaged photos. 
      Since this wedding i shoot 2 other weddings so i over wrote the memory card so can’t recover from the card.
      I’ve tried every program that was recommended on the web include ExiftTool, cr2 repair and Hex editor but i can’t really understand how to handle file metadata.
      I read in another topic that there is a chance that the header of the file is unreadable but there is a possibility that changing the data of the file can fix the problem. !?
      I’m in desperate need for help because I'm out of options and don't want to have to tell this couple I have lost their photos. anyone knows how to handle file metadata on CR2, repair CR2,  have any recommendation on what to do or can do the work? 
      every success even b&w/ small jpeg or every thing that can be rescued will be helpful.
    • By Lee V
      Hi, i shoot a wedding recently and downloaded all the photos (Canon raw- CR2 files) from the CF card to hard drive, all the photos have the correct file sizes and If i’m scrolling down i can see the small previews perfectly but the problem start when i open the files. 
      few days after i opened the files on lightroom and all the photos from the card are corrupted! I tried open the files in alot of programs but in every program it was damaged photos. 
      Since this wedding i shoot 2 other weddings so i over wrote the memory card so can’t recover from the card.
      I’ve tried every program that was recommended on the web include ExiftTool, cr2 repair and Hex editor but i can’t really understand how to handle file metadata.
      I read in another topic that there is a chance that the header of the file is unreadable but there is a possibility that changing the data of the file can fix the problem. !?
      I’m in desperate need for help because I'm out of options and don't want to have to tell this couple I have lost their photos. anyone knows how to handle file metadata on CR2, repair CR2,  have any recommendation on what to do or can do the work? 
      every success even b&w/ small jpeg or every thing that can be rescued will be helpful.
    • By doublecaesar
      I was taking photos the other day at Glacier National Park and halfway through the afternoon the previews stopped showing up on my camera. After inserting the card into my computer I found that the second half of the batch were all the proper size for a photo but are giving me the error "may be damaged or use a file format that is unrecognizable".
       
      I've tried every photo recovery software I could find and they all do not even recognize the files. I tried downloading iHex to possibly remove a damaged header but the photos show up showing only Fs' on every line (I've never used this program before so may be user error, screenshot of when I dragged the photos into the program attached). I have not done anything to the SD card itself besides make a copy of the photos on my computer. I also tried converting to JPG with no luck.
       
      Any ideas?
       
      I've uploaded 4 photos:
      https://drive.google.com/folderview?id=0Bwvjk4sXOF52MUtpZXY1TTFFcDQ&usp=sharing
       
      7829 is the last good photo, 7830 is where something went wrong, and 7831/32 are screwed.
       
      Thanks for any help you can give me!!