Fixing corrupted Jpg

Last Updated:

  1. pasqo83

    pasqo83 Well-Known Member


    I took pictures on my Samsung Camera and for some strange reason, all the files are now corrupted. I am trying to fix them but struggling at the moment. I've tried opening them in photoshop CS5, paint and tried using Format Factory to convert the picture to see if that will work but no joy at the moment.

    Does anyone have any ideas or a few suggestions on how to fix them, these pictures really means alot to me, I just propose to my mrs and the pics are on there and really want them. :(

  2. 9to5cynic

    9to5cynic Well-Known Member

    Hmm.. I guess you could open them in a hex editor and make sure the file headers and footers match... I believe jpeg is ffd8 and ffd9. (header, then footer)

    Of course, if the file is corrupted, it could just show up as colors and the pictures may not actually be what you want.... don't know.
  3. johnlgalt

    johnlgalt Antidisestablishmentarian VIP Member

    Yeah, even if you get the headers corrected, the files may have a weird Andy Warhol look to them as they are missing partial info for the rendering to complete.
    9to5cynic likes this.
  4. pasqo83

    pasqo83 Well-Known Member

    In other words, there is no way to fix this :(
  5. 9to5cynic

    9to5cynic Well-Known Member

    well, that really depends. If it is only the headers that got messed up, then you should be good. If the whole file is gone, that's that.

    You might be able to file the files still on the sd card somewhere, but it would take a while and they too could be corrupt.
  6. pasqo83

    pasqo83 Well-Known Member

    So any ideas of how I would go about fixing them, I have tried 3 or 4 different software found on the web that is suppose to fix image files but failed :(
  7. 9to5cynic

    9to5cynic Well-Known Member

    Well, it sounds like the file is corrupted, instead of just the headers. If it was the headers, you could easily fix that. But the file is messed up, so that won't work. The only suggestion I have would be to do the following.

    You're going to want to back up your sd card before this.

    Code (Text):
    2. dd if=/path/to/sdcard of=image.dd
    then you'll want to run scalpel on that file (image.dd)

    Scalpel preforms automatic file carving / recovery. If the files still exist on the device, then it should be able to get them. As long as they haven't been over written.
  8. johnlgalt

    johnlgalt Antidisestablishmentarian VIP Member

    I think he's on Windows, b/c Format Factory is a Windows only program....
  9. johnlgalt

    johnlgalt Antidisestablishmentarian VIP Member

    pasqo - did you try copying the files from the media / camera to another device first and *then* try opening / fixing them? Or did you try directly on the camera / media card?
  10. andr01d

    andr01d Well-Known Member

    Open the file with the camera. If it doesn't open (with the camera) it's not good news. If it opens fine with the camera, use a different card reader to open this memory card...
  11. pasqo83

    pasqo83 Well-Known Member

    Hi Everyone, sorry I've been away for a little bit.

    Ok, Yes I am on Windows 7. What happened was I took photos on my samsung cam and I viewed them and worked, the following day, I went to view them and it said on the camera screen "File Error", I thought WTF, so I got out of the picture viewer and turnt off my cam, turnt it back on and still had the same issue.

    I've got home and tried opening it in photoshop CS4 & 5 (apparently it does the trick but sadly not for me), MS paint, infranview, internet explorer and google chrome (drag and drop style).

    I have used the Stella Phoenix Jpeg Repair, jpeg recovery pro, Convar & smart flash recovery (Im sure there was another 2 more programmes), all to no joy.

    I hate to admit defeat as these photos are priceless, I can go again and take the photos but meant more than just a photo. :(

Share This Page