When you set out to recover photos from a damaged JPEG, the most useful thing to understand is why a broken photo looks the way it does. That familiar image which shows the top of a scene in perfect focus and then drops into a flat grey bar is not a glitch in your viewer; it is a direct picture of how much data survived. This guide explains the grey-bar and half-image symptom, shows what partial recovery genuinely returns, and shares SD-card habits that make recovery more likely to succeed.

Why a Damaged JPEG Loads Top to Bottom

A JPEG stores its image in a very particular order. After the Start of Image (SOI) marker and the header comes the scan data: the actual picture, compressed with Huffman coding and written from the top of the frame downward, one strip at a time, until the End of Image (EOI) marker closes the file. A decoder reads that data in the same order, painting the image from top to bottom.

This top-down design is exactly why damage produces the symptom it does. When the file is truncated, meaning the data simply stops before the whole image was written, the decoder paints every good strip it can reach and then runs out of data. It has nothing to draw below that point, so it fills the remainder with grey. The height of the grey bar tells you precisely where the file broke: a thin bar at the bottom means almost everything survived, while a bar covering most of the frame means the file was cut off early.

What the Grey Bar and Half-Image Mean

The grey area is the honest boundary between recoverable and lost data. Above it is real image data that was successfully saved. Below it is nothing, either because the write was interrupted, the transfer dropped, or the storage failed before those strips were committed.

A Thin Grey Bar

If only a sliver at the bottom is grey, you got lucky. Nearly the entire photo was written, and recovery returns a picture you can often use as is or with a small crop.

A Half-Grey Image

If roughly half the frame is grey, the file was truncated around the midpoint. You recover the top half at full quality. That may still capture the important subject, especially in portraits and landscapes where the key content sits in the upper portion.

An Almost Entirely Grey Frame

If only a thin strip at the very top survived, the file broke early. Recovery returns that strip, which is little, but it confirms the file was truncated rather than destroyed, and sometimes even a sliver preserves a recognizable detail.

What Partial Recovery Actually Gets You

It is important to be realistic about the outcome so the result never disappoints. Recovering photos from a damaged JPEG means salvaging the data that was truly saved and rebuilding it into a clean, openable file. The repair JPG tool re-decodes the readable scan data, tolerates the point where the file breaks instead of failing, and re-encodes a valid JPEG that any viewer will open.

What it can do is real and useful:

  • Rescue the intact portion of a truncated photo at its original quality.
  • Rebuild files with header or marker damage that often recover almost completely, because the pixels underneath were fine and only the file's description was scrambled.
  • Turn an unopenable file into a viewable one, so you can at least see what survived and decide whether it is worth keeping.

What it cannot do is invent missing data. The grey bar represents strips that were never written to disk, and no tool can reconstruct pixels that do not exist. Recovery is salvage, not resurrection: it returns everything that is there, but nothing that is not. For most damaged photos, though, that salvaged region is precisely the part you wanted to keep.

SD-Card Tips That Improve Recovery

Many damaged JPEGs come off camera SD cards, and how you handle the card after the problem appears has a large effect on how much you can recover.

Stop Using the Card Immediately

The moment you notice a corrupt photo, stop taking pictures on that card. Every new write risks landing on the same failing region or overwriting the space where recoverable files still sit. A card that damaged one file is likely to damage more.

Copy Everything Off First

Before repairing anything, copy the entire contents of the card to a computer and work from those copies. This protects your files from further reads on a card that may be failing, and it gives you a stable set of originals to attempt recovery on.

Use a Reliable Reader and Full Copy

Read the card with a good-quality reader and copy every file rather than selectively. If the card is intermittent, a single clean copy pass captures the data while it is still readable. Then run the affected files through the repair tool from the safe copies.

Retire Suspect Cards

Once a card has produced corrupt files, do not keep trusting it with important shots. Move your keepers to reliable storage and replace the card. The cost of a new card is trivial next to the value of the photos.

For the mechanics of running a repair, see how to repair a corrupted JPEG file. To understand the events that cause this damage, read why JPEG files get corrupted, and to avoid it next time, our guide on preventing JPEG corruption covers safe habits.

Conclusion

Recovering photos from a damaged JPEG is really about salvaging the part that survived, and the grey bar shows you exactly where that part ends. Because a JPEG is written from the top down, truncation costs you the bottom of the image while leaving everything above the break fully intact and recoverable. Partial recovery returns that intact region as a clean, openable file, which for most photos is the content that mattered. Handle any suspect SD card gently, copy your files off before doing anything else, and then run them through the repair JPG tool to rebuild the readable portion into a photo you can keep.