Return to Digital Photography Articles

How to Undelete Photos from a Memory Card!

Even if you accidentally deleted your photos or formatted your memory card, it is usually possible to recover the photos!

Deleted Photos from Memory Card

One of the disadvantages of digital photography is the ease in which we can accidentally delete or format a memory card and instantly lose all of our photos!

It turns out that when you hit Delete or Format, it is almost always possible to get these photos back without any damage or corruption.

What to do if I deleted my Photos?

The following guidelines are absolutely essential to increase the odds that you can recover as many photos as possible:

  • DO NOT take any more photos with this card.
  • DO NOT copy or install any files to this card.
  • DO set the card's Write Protect tab to Lock.
    This is only usually an option with SD (Secure Digital) cards, but see if your card has such a slide switch.
  • DO recovery with advanced techniques.
    The majority of recovery programs available on the web can only fix a portion of your deleted files, leaving many others behind.

*** Submit your Memory Card for Advanced Recovery! ***

In the near future I plan to release a tool that will allow you to recover your own photos. In advance of the release, I am occasionally accepting memory card data for custom analysis.

For a limited time, I will be analyzing and recovering deleted memory cards.

STATUS: Submissions Currently Offline, please check back later.

Not all JPEG Recovery Programs are the same

There are a huge number of JPEG recovery / undelete programs available on the web, many even for free. Unfortunately, the vast majority of these can only handle the simplest types of deleted files: unfragmented photos.

So, while these programs may recover dozens of your deleted photos without problem, it is highly likely that you will discover:

  • You are missing many photos that should have been recovered
  • The photos that were recovered are corrupted.

Ironically enough, it is often these simple recovery programs that generate the thousands of corrupted photos that I've analyzed over the years. The recovery software is often at fault for being too simplistic. Unfortunately, most users give up after seeing the results of their recovery, and assume that all recovery programs are alike. This is far from the case!


Reader's Comments:

 Hi! First I want to thank you from the bottom of my heart for JPEGsnoop and its ability to extract thumbnails. My husband got to meet Celtics legend Kevin Mchale, but the photo we took shows up half grey. But thanks to you, he at least has a complete thumbnail! Thank you so, so much!!!
I see from reading through your site that it may be possible to recover the rest of the large image. I opened it with JPEGsnoop and it does give a lot of errors like "Can't find huffman bitstring," and "bad huffman code," and "bad scan data in MCU," etc. I also tried running the detailed decode, but I haven't the foggiest idea of what I am looking for or looking at.
Do you think that this image could be saved? It would mean the world to my husband. Any information you could provide would be endlessly appreciated. Thanks again so much!!

 Hey Christine -- With JPEGsnoop, it is likely that you'll only be able to recover the thumbnail from your corrupted image. While it is sometimes possible to perform a manual repair of the corrupted image, it is usually very time consuming and with low odds of success unless the original memory card is still available. Unfortunately, at this time I'm no longer able to offer individual image recovery.
 RE: "Hi PJ -- If the second editor is designed to preserve the pre-existing metadata within the image file, then it is possible to detect the Photoshop IRB values after a resave."

Thanks for the reply. Snoop detects the IRB for me, but it also detects non-Photoshop signatures and quality levels that match each other and the quality levels like those on your software list.

I tested each software by having it resave one of six identical copies of an image I made. All the software programs listed in Snoop that have the same signatures were used for my test. With the image quality at 91%, using 1 x 1 subsampling got good res That worked out OK, sinnce the result files

My problem is happening every time I use an MCU offset. It gives me the embedded thumbnail detail, 124 x 160, 72DPI, etc. It makes no difference in which direction I run it, when I get the "Consider using [Tools->Img Search Fwd/Rev," message. and the same results come back.

Most of the time, it does not like the starting block number as it will not let me use the Img Search Fwd. I have to use Img Search Bwd.

So, the thumbnals are always the same, 124 x 160, 72 dpi, 81.53 & 89.88 for chrominance and luminance values that match Photoshop Save at 05 but suggest one of the other editors you listed. Most likely, it was IrfanView, as I tried using all of the others you listed and a few of my own. Even though the quality levels are the same from editor to editor, the file size each program produces does not.

Why is that?
 Transferred pictures from memory stick to desktop PC. Everything appeared fine and dandy until I opened up the pictures and its all grey. I can only see the pictures in thumbnails.

Please let me know whether this can be corrected, and if so, how so.
 Martyna -- Do you still have the original memory card? If so, and you haven't reused the card much since you transferred the photos, then there is a good chance of recovering the photos. Without the card, it is far more difficult to recover the photos (sometimes impossible).
2010-02-27Christine L
 Hi, I have lots of corrupted images which I really want to fix. I believe that the images got corrupted because I used a SD memory card both for the camera and for another electronic supply. I was able to view the images on the camera but not on the computer. And now after several tries of getting the pics properly, I can't open the images even on the camera.

Can you please share some of your techniques? I have lots of images to fix, so I was wondering whether I could learn how to fix them by myself...You said that the steps were posted on 4-17. I don't see it. Can you please repost or send me an email? Thanks :)
 Hi Christine -- Image repair is an extremely technical and challenging process. As I've learnt over the years while fixing images, it is evident that it isn't practical to detail the process as it is different for every photo. However, image recovery is a mechanism that can be accomplished with the right tools. I am developing some tools that may allow people to recover their own deleted / formatted photos, unlike other recovery tools that produce corrupted photos. Until the tool becomes publicly available, I am periodically offering the techniques through an online photo recovery service (please see above).
 I am new to this site and hope you will answer my question, even though I may be on the wrong page.

JPEGSnoop is a great program. It helps me in my work. I used in in an experiment to see if I could find traces of Photoshop in a file that had a Photoshop IRB, but was then resaved in another editor - like one on those listed at the bottom as having the same compression signatures with both chrominance and luminance producing the same quality levels.

Here is what I did:

Using the grid, I picked an MCU offset that I felt was far enough into the iimage to recover Photoshop tables. It worked - well, I hope it did.

Instead of the "new version of existing software"message I got when I ran the entire file, it came back as Photoshop Save as 05.

I want to confirm that what I did here and what I found are valid, because if they are, then JPEGSnoop is a lifesaver.


 Hi PJ -- If the second editor is designed to preserve the pre-existing metadata within the image file, then it is possible to detect the Photoshop IRB values after a resave. However, please note that the MCU Offset dialog selection will have no effect on the compression signatures or IRB metadata being detected within the image.
2010-02-21Gina N
 I received the DVD 2 days ago and I apologize for the delayed email as it has been a hectic week. Peter and I couldn't be happier with the pictures!

Thank you so much! As I previously said, I spent about a month online contacting IT people and researching if it was possible to recover corrupted pics. You were the only person who seemed to be even slightly successful; every website said they were lost with no hope.

Thank you again for all the effort, you really went above and beyond in helping us.


Note: Comments on this article have been closed