Football Fans: Download the 2012 Schedule App from Google Play!


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



Reply
 
LinkBack Thread Tools
Old January 16th, 2012, 12:05 PM   #1 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 72
 
Device(s):
Thanks: 19
Thanked 6 Times in 6 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.

pasqo83 is offline  
Reply With Quote
Sponsors
Old January 16th, 2012, 08:55 PM   #2 (permalink)
Frank Burns Eats Worms!
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: Evo Root Forum, Lounge, Forum Games.
Posts: 3,280
 
Device(s): Evo 4G - CleanRom 2.0 (April '12)
Thanks: 1,761
Thanked 1,122 Times in 785 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.
__________________
Quote:
Originally Posted by Bob Maxey View Post
And here you thought you would escape being wrong today.

Everyone should play Forum Games|Nandroid Backup Script|unanswered threads
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
Posts: 8,431
 
Device(s): Motorola® DROID® BIONIC®
Thanks: 1,836
Thanked 1,610 Times in 1,154 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.5.0- 32bit | Motorola USB drivers v5.5.0- 64bit | Motorola RSD Lite v5.7
johnlgalt is online now  
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)
Junior Member
 
Join Date: Dec 2011
Posts: 72
 
Device(s):
Thanks: 19
Thanked 6 Times in 6 Posts
Default

In other words, there is no way to fix this
pasqo83 is offline  
Reply With Quote
Old January 17th, 2012, 08:49 AM   #5 (permalink)
Frank Burns Eats Worms!
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: Evo Root Forum, Lounge, Forum Games.
Posts: 3,280
 
Device(s): Evo 4G - CleanRom 2.0 (April '12)
Thanks: 1,761
Thanked 1,122 Times in 785 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)
Junior Member
 
Join Date: Dec 2011
Posts: 72
 
Device(s):
Thanks: 19
Thanked 6 Times in 6 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 offline  
Reply With Quote
Old January 17th, 2012, 04:50 PM   #7 (permalink)
Frank Burns Eats Worms!
 
9to5cynic's Avatar
 
Join Date: Feb 2011
Location: Evo Root Forum, Lounge, Forum Games.
Posts: 3,280
 
Device(s): Evo 4G - CleanRom 2.0 (April '12)
Thanks: 1,761
Thanked 1,122 Times in 785 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
Posts: 8,431
 
Device(s): Motorola® DROID® BIONIC®
Thanks: 1,836
Thanked 1,610 Times in 1,154 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 online now  
Reply With Quote
Old January 17th, 2012, 06:17 PM   #9 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Posts: 8,431
 
Device(s): Motorola® DROID® BIONIC®
Thanks: 1,836
Thanked 1,610 Times in 1,154 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 online now  
Reply With Quote
Old January 17th, 2012, 11:32 PM   #10 (permalink)
Member
 
andr01d's Avatar
 
Join Date: Nov 2011
Location: androidland
Posts: 463
 
Device(s): Sony Tablet S 32GB, Nook Tablet 16GB, two HTC Rezound, Pantech Breakout, Sony GT1 BD-ITV
Thanks: 101
Thanked 92 Times in 65 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
Sponsors
Old January 19th, 2012, 02:52 AM   #11 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 72
 
Device(s):
Thanks: 19
Thanked 6 Times in 6 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 offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Community > The Lounge > Computers & IT User CP
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 12:48 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo