Skip to content
Bytevive

Photos corrupted after copying from an SD card? Find out where it happened first

Gray halves, color bands, or 0 KB files after a card transfer: how to tell a bad card from a bad copy, protect the originals, and repair what was saved.

By the Bytevive team9 min read

An SD card in a card reader next to a laptop showing a photo with a gray bottom half

You copy a day’s shooting from the SD card to your computer and some of the photos are wrong. The bottom half is flat gray. A band of color is shifted or smeared. A few files won’t open at all, or show up as 0 KB. On the camera, the same shots looked perfect.

The instinct is to reformat the card, or to start running recovery software on it right away. Hold off. The first job is to work out where the damage happened, because that decides whether your originals are still safe on the card, and the wrong next step can destroy them.

First: protect what’s on the card

  1. Take the card out of the camera and don’t put it back in until this is sorted.
  2. Slide the small lock switch on the side of a full-size SD card to the locked position. A camera then can’t record, delete, or format, as Nikon’s manual explains, and most card readers respect the switch too.
  3. Keep the bad copies you already made. They’re useful for comparison, and sometimes for repair.

If a camera or computer offers to format or “fix” the card, say no for now. The PhotoRec documentation gives the same advice for any lost files: don’t save anything more to the card, or you may overwrite what you’re trying to recover.

Why the camera shows a perfect picture

A JPEG from a camera carries a smaller preview image alongside the full-size picture. As one answer on Photography Stack Exchange points out, what you see on the camera’s screen is often that preview. The full image can be damaged while the preview looks fine. Zooming right in on the camera is a better test on many models, because the camera then has to decode the full image.

That leaves two possibilities. Either the file on the card is damaged, or it’s fine and something broke during the copy. The next step tells them apart.

Find where the damage happens

Copy a handful of the affected photos again, but change the path: a different card reader, a different USB port (straight into the computer, not a hub), or a different computer altogether. Then compare.

Result of the second copyWhat it meansWhat to do
The same photos now open perfectlyThe card is fine. The first reader, cable, port, or computer corrupted the copy.Copy everything again the new way, then retire or test the old reader.
Different photos are damaged each timeSomething in the copy path is unreliable, or the card is failing intermittently.Try a third reader and computer; copy the card in full as soon as you get a clean run.
The same photos are damaged in the same way every timeThe damage is in the files on the card.Go to the card recovery and repair steps below.
Files show as 0 KB, or the card asks to be formattedThe card’s file table is damaged, even if the photo data is still there.Don’t format. Use recovery software that reads the raw card.

Transfer problems are more common than people expect. An accepted answer on Photography Stack Exchange lists a bad cable or card reader as the second most likely culprit after the card itself, and in another thread a photographer traced months of gray photos to a printer plugged into the same computer: unplugging it fixed every import. If you’ve tried everything else, disconnect other USB devices one at a time.

Read the damage: what each symptom tells you

  • Gray from a certain point down. The decoder stopped there. Either the file is incomplete (it simply ends) or a damaged stretch of data made the viewer give up. JPEG is especially sensitive: a few wrong bytes can affect everything after them.
  • Smaller files have bigger gray areas. That pattern points to incomplete files. DiskTuna describes a case where the full photos had actually been written to the card, but the card’s file table recorded the wrong sizes, so every copy came out short. Reading the card directly recovered them.
  • Color shifts, stripes, or blocks that are out of place. Bytes in the middle of the picture data are wrong. The rest of the file is usually there.
  • The file won’t open at all. The start of the file may be damaged, the file may be empty, or it may be a format your viewer doesn’t support, such as HEIC or RAW. Our guide to “this file format isn’t supported” covers that case.

When the files on the card are damaged

If every copy of a photo comes out the same, the problem is on the card. Copy everything you can off it first, to a separate folder, so the card is read as little as possible. Then:

  1. Try recovery software that reads the card directly. Free tools like PhotoRec ignore the file table, scan the card for the start of each photo and copy out what follows. Its documentation says it opens the card read-only. Save the results to your computer, never back to the card. This is the step that can rescue full-size photos when the file table was wrong, as in the DiskTuna case.
  2. Repair the copies that are still broken, as described next.
  3. Retire the card. A card that has corrupted files once isn’t worth trusting with the next shoot.

Repairing the photos you have

Many damaged photos won’t open at all, even though most of the picture is there. Bytevive’s Photo Repair fixes the file around the picture so it opens again, in your browser:

  1. Sign in with a free account and drop in a damaged JPEG, PNG, GIF, WebP, or BMP (up to 256 MB).
  2. Bytevive strips junk in front of the image, closes JPEGs that end without their end marker, rebuilds damaged PNG checksums, and corrects a wrong file extension.
  3. It tells you how much of the picture is still there. If the bottom of the photo was never saved, you’ll see something like “About 70% of the photo is still here.” Your browser can show everything above the cut, though stricter apps may still refuse a cut-off file.
  4. Save the repaired copy. The picture data isn’t re-compressed, so the surviving pixels are exactly as they were.

How to avoid it next time

  • Wait for the access lamp. Canon and Nikon both warn against removing the card, turning the camera off, or removing the battery while the access lamp is lit or blinking.
  • Eject before unplugging. On Windows, use Safely Remove Hardware and Eject Media and wait for the “Safe To Remove Hardware” message. On a Mac, eject the card in Finder.
  • Format in the camera, not the computer. Nikon’s manual says not to format memory cards in a computer, and Canon warns that cards formatted on computers may not work correctly in its cameras.
  • Verify before you format. After copying, open a sample of photos from across the shoot, including the last ones, before you wipe the card.
  • Use a decent reader, plugged straight in. Cheap readers and long hub chains are common weak links.

The bottom line

When photos turn up corrupted after a card transfer, lock the card and copy again through a different reader or computer. If the new copies are fine, the card was never the problem. If the same photos are damaged every time, recover the card with a read-only tool like PhotoRec, then repair the copies with Bytevive to get back everything that was saved. Format the card in the camera only after you’ve checked your copies. For the full picture of every photo symptom and fix, see our complete guide to fixing corrupted photos.

Frequently asked questions

Why do my photos look fine on the camera but corrupted on the computer?
The camera screen often shows a small preview image stored inside each file, not the full photo. The full image can be damaged while the preview is fine. It's also possible the file on the card is perfect and the damage happened during the copy, which is why you should test the copy path before blaming the card.
Should I format the SD card to fix it?
Not yet. Formatting erases the card's file table, and if the originals on the card are intact you'll lose your chance to copy them again. Copy everything off, confirm the copies open, and only then format the card in the camera, as camera makers recommend.
Can a photo with a gray bottom half be repaired?
Usually only partly. A gray area means the picture data stops at that point, either because the file is incomplete or because damaged data stopped the decoder. Bytevive can close the file and let your browser show and save everything above the cut, though stricter apps may still refuse a cut-off file, and no tool can recreate pixels that were never saved.
Does a bad USB port or card reader really corrupt photos?
It can. Photographers regularly trace corrupted imports to a faulty reader, cable, or port, and one well-known report traced it to another USB device on the same computer. If copying the same card through a different reader produces good files, the card was never the problem.
Which photo formats can Bytevive repair?
JPEG, PNG, GIF, WebP, and BMP, up to 256 MB per file, free with an account and without uploading. HEIC and camera RAW files aren't supported yet.

Sources

Every claim, error message, price, and limit cited above comes from these pages, checked on November 28, 2026. If one has changed, tell us at support@bytevive.com and we’ll update the article.

  1. Photography Stack Exchange: Why do images get “corrupted”?
  2. Photography Stack Exchange: Photos turning grey when downloading from a Nikon D5100
  3. DiskTuna: The corrupt JPEGs that weren't corrupt
  4. CGSecurity: PhotoRec, digital picture and file recovery
  5. Nikon D850 online manual: Inserting and removing memory cards
  6. Canon USA: EOS R6, inserting and removing cards
  7. Canon USA: Memory card handling precautions
  8. Microsoft Support: Safely remove hardware in Windows

Photo won't open? Find out how much survived.

Free account, photos up to 256 MB. The picture never leaves your device.

Repair a photo, free

Other free tools: video, PDF, photo, Office, ZIP, and audio repair.