Go Back   Android Forums > Android Forums Community > The Lounge > Computers & IT

test: Reply
 
LinkBack Thread Tools
Old January 16th, 2012, 12:05 PM   #1 (permalink)
Member
Thread Author (OP)
 
Join Date: Dec 2011
Posts: 126
 
Device(s):
Carrier: Not Provided

Thanks: 37
Thanked 9 Times in 8 Posts
Default Fixing corrupted Jpg

Hi,

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.

Advertisements
pasqo83 is online now  
Reply With Quote
sponsored links
Old January 16th, 2012, 08:55 PM   #2 (permalink)
Senior Member
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: /home/
Posts: 4,858
 
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,763 Times in 1,189 Posts
Send a message via AIM to 9to5cynic
Default

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.
9to5cynic is offline  
Reply With Quote
Old January 17th, 2012, 12:29 AM   #3 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Gender: Male
Posts: 9,395
 
Device(s): Motorola® DROID® BIONIC®
Carrier: VZW

Thanks: 2,168
Thanked 1,919 Times in 1,362 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

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.
__________________

Files for the Motorola® DROID® BIONIC®:
Motorola USB drivers v5.9.0 | Motorola RSD Lite v5.7
My DropBox Referral link
johnlgalt is offline  
Reply With Quote
The Following User Says Thank You to johnlgalt For This Useful Post:
9to5cynic (January 17th, 2012)
Old January 17th, 2012, 03:18 AM   #4 (permalink)
Member
Thread Author (OP)
 
Join Date: Dec 2011
Posts: 126
 
Device(s):
Carrier: Not Provided

Thanks: 37
Thanked 9 Times in 8 Posts
Default

In other words, there is no way to fix this
pasqo83 is online now  
Reply With Quote
Old January 17th, 2012, 08:49 AM   #5 (permalink)
Senior Member
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: /home/
Posts: 4,858
 
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,763 Times in 1,189 Posts
Send a message via AIM to 9to5cynic
Default

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.
9to5cynic is offline  
Reply With Quote
Old January 17th, 2012, 12:04 PM   #6 (permalink)
Member
Thread Author (OP)
 
Join Date: Dec 2011
Posts: 126
 
Device(s):
Carrier: Not Provided

Thanks: 37
Thanked 9 Times in 8 Posts
Default

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
pasqo83 is online now  
Reply With Quote
Old January 17th, 2012, 04:50 PM   #7 (permalink)
Senior Member
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: /home/
Posts: 4,858
 
Device(s): Galaxy S3 (Verizon) Evo 4G - retired/rooted
Carrier: Verizon

Thanks: 3,066
Thanked 1,763 Times in 1,189 Posts
Send a message via AIM to 9to5cynic
Default

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:
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.
9to5cynic is offline  
Reply With Quote
Old January 17th, 2012, 06:16 PM   #8 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Gender: Male
Posts: 9,395
 
Device(s): Motorola® DROID® BIONIC®
Carrier: VZW

Thanks: 2,168
Thanked 1,919 Times in 1,362 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

I think he's on Windows, b/c Format Factory is a Windows only program....
johnlgalt is offline  
Reply With Quote
Old January 17th, 2012, 06:17 PM   #9 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Gender: Male
Posts: 9,395
 
Device(s): Motorola® DROID® BIONIC®
Carrier: VZW

Thanks: 2,168
Thanked 1,919 Times in 1,362 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

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?
johnlgalt is offline  
Reply With Quote
Old January 17th, 2012, 11:32 PM   #10 (permalink)
Senior Member
 
andr01d's Avatar
 
Join Date: Nov 2011
Location: androidland
Posts: 512
 
Device(s): my 10th device!!
Carrier: Not Provided

Thanks: 109
Thanked 97 Times in 69 Posts
Default

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...
__________________
andr01d
andr01d is offline  
Reply With Quote
sponsored links
Old January 19th, 2012, 02:52 AM   #11 (permalink)
Member
Thread Author (OP)
 
Join Date: Dec 2011
Posts: 126
 
Device(s):
Carrier: Not Provided

Thanks: 37
Thanked 9 Times in 8 Posts
Default

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.
pasqo83 is online now  
Reply With Quote
Reply


Go Back   Android Forums > Android Forums Community > The Lounge > Computers & IT
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:46 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.