CR2 (Canon RAW photo) Repair? (NOT recovery, I need to fix the files)


 Share

Recommended Posts

Glassed Silver

Heya guys,

someone please do some namedropping for a couple of softwares that can fix corrupted CR2 files. :p

Any OS will do, I'm willing to try "all there is" so I accept any platform really.

Thanks for helping in advance!

Glassed Silver:mac

PS: I'm not willing to send the files away unless this is the VERY LAST option (like an online service).

We're talking about 10 pictures. (I got some pictures in various states (different hash sums))

Reason of corruption? I don't really know. Just drop me the names of the programs, I'll do the testing. :p

Link to post
Share on other sites

Andre

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[/CODE]

  • Like 1
Link to post
Share on other sites

HawkMan

How are they broken ?

if part of the image is grey or something like that there's probably nothing yo can do as it probably means the harddrive they where on got corrupt and the missing data simply doesn't exist.

Link to post
Share on other sites

Glassed Silver

Thanks to both of you.

Well, I dropped one image into PhotoInfo and it would show me the EXIF data, it also created a thumbnail based on the embedded jpeg.

I almost kind of thought there are no true recovery programs available for my case, but I thought I'd rather ask and be sure than just not having found anything on Google.

And yes, tons of unfilled area, rainbowing and black blocks.

Thanks a lot guys

Glassed Silver:mac

Link to post
Share on other sites

  • 1 year later...
jasoncoau

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. info@colestudios.com.au I had a stack of family shots but just a few (these 13) corrupted when being copied from the card.

Link to post
Share on other sites

+theblazingangel

It's possible, can't be guaranteed though obviously.

Let's start off simple though, have you tried re-copying the files from the card?

Otherwise, upload one or two of them so we can get an idea of the state they are in.

Also, what is the state of the card they were on, did you delete the files? Have you re-used the card?

Link to post
Share on other sites

  • 5 months later...
Constantin Mindru

It's possible, can't be guaranteed though obviously.

Let's start off simple though, have you tried re-copying the files from the card?

Otherwise, upload one or two of them so we can get an idea of the state they are in.

Also, what is the state of the card they were on, did you delete the files? Have you re-used the card?

 

Hi, theblazingangel

 

When you said "it's possible" I was very happy, hoping you could give me a little help.

My CR2 file is corrupted, but I can gat a B&W JPEG from it (because this is how I shot the pictures, in B&W mode). I would like to repair the file for getting the color JPEG.

I opened the file in HEX editor, and the header is fine. The problem is with the raw body, the info between the last FFD8 and the very end (FFD9). 

I don't know if there is a way to follow the sequences and figure it out what is missing or there is something mixed up.

I have a corrupted CR2 file at this link: http://we.tl/oVMfpYn3wm

 

Thank you in advance!

Constantin

 

Link to post
Share on other sites

Draconian Guppy

off topic, wonder where GS:M went :/

Link to post
Share on other sites

  • Jim K locked this topic
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Jay Bonggolto
      Apple is launching its independent repair program worldwide
      by Jay Bonggolto

      Apple kicked off its independent repair service program for third-party providers in 2019 to help customers in the U.S. get their devices fixed by non Apple Authorized Service Providers (AASPs) beyond the warranty period. The program expanded to Europe and Canada last year.

      Today, Apple announced that it's bringing the independent repair provider program (IRPP) globally. The Cupertino-based tech giant confirmed that it will open its independent repair program to service providers across more than 200 countries. This means the program will be accessible in nearly every country where its products are available to purchase.

      Like its participating third-party repair providers, the additional repair centers will have access to genuine Apple parts and tools as well as manuals and diagnostics. These are the same resources available to Apple's authorized service providers.

      The repair providers will also go through training sessions for free. In order to qualify, they must also agree to allow an Apple-certified technician to do the repairs.

      Application for the program will commence this week in the following countries: Afghanistan, Australia, Bangladesh, Bhutan, Brazil, Brunei Darussalam, Cambodia, Cook Islands, Fiji, Guam, Hong Kong, India, Indonesia, Japan, Korea, Laos, Macao, Malaysia, Maldives, Mongolia, Myanmar, Nepal, New Zealand, Pakistan, Papua New Guinea, Philippines, Russia, Saudi Arabia, Singapore, South Africa, Sri Lanka, Taiwan, Thailand, Tonga, Turkey, United Arab Emirates, Vanuatu, and Vietnam. Click on this link to apply. It's also expanding to more territories later this year.

    • By Usman Khan Lodhi
      You can get your phone fixed without having to leave your home thanks to uBreakiFix
      by Usman Khan Lodhi



      uBreakiFix, an electronics repair service, is launching its "We Come to You" mobile repair program across the U.S., in which the company's services are brought to customers' doors rather than the other way around. It also offered free Google Pixel repairs to frontline workers earlier this year. A fleet of more than 640 repair vehicles has been deputed to handle repairs, which include screen repair and battery replacement, in two hours or less.

      Appointments can be booked as soon as the same day, and visits can be arranged for places other than your home, as long as the place is in an eligible zip code. Customers may take note that the vehicles won't offer a full range of repairs that they can get at a brick-and-mortar location. For now, only a handful of repair types are supported, with the firm planning to expand the program for more types of devices and services in the future. To secure appointments, there is a $30 non-refundable fee.

      Though the launch has been announced nationwide, it isn't available in every market yet, with the firm planning to add 700 vehicles by the end of the year and extending the program to Canada. To check if these mobile repairs are available in your area, head over to this page, and input your zip code.

    • 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 zikalify
      Apple is offering free repairs for two iPhone models that don't power on
      by Paul Hill

      Apple has announced that it will be repairing some older iPhone models free of charge after several devices have been found not to power on due to a faulty component. The iPhone maker has said that the repairs will be available for affected iPhone 6s and iPhone 6s Plus models.

      While these two models were originally released back in 2015, the scheme only applies to a limited number of devices with a certain serial number range that identifies whether the phones were manufactured between October 2018 and August 2019. If you believe that you’re affected and want your device repaired you’ll have to find your serial number and use Apple’s serial number checker to check eligibility.



      There are several ways to check the serial number:

      If your device is affected, you can take it to an Apple Authorised Service Provider, make an appointment at an Apple Retail Store, or contact Apple Support to arrange a mail-in via the Apple Repair Center. Before you get it repaired, make sure you backup your iPhone to iTunes or iCloud if possible. If you’ve paid to have the problem fixed previously, you can contact Apple to ask for a refund.