Page 1 of 1

How to repair damaged jpg?

Posted: Thu Dec 16, 2004 9:14 pm
by mlv
Hi

While batchconverting in xnview (1.70.2) I accidententally deleted my original jpg's.
I recovered them with an undeleting program, but they are now inaccessible by xnview or several other viewers.
They still have a jpg extension but according to the program EXIF the files start with (by example) 0x85 0xa0 and so is not a jpg.

Anybody a brilliant idea how to repair this.

Re: How to repair damaged jpg?

Posted: Fri Dec 17, 2004 8:21 am
by xnview
mlv wrote:Hi

While batchconverting in xnview (1.70.2) I accidententally deleted my original jpg's.
I recovered them with an undeleting program, but they are now inaccessible by xnview or several other viewers.
They still have a jpg extension but according to the program EXIF the files start with (by example) 0x85 0xa0 and so is not a jpg.

Anybody a brilliant idea how to repair this.
Hum, a JFIF/JPEG file begins with FF D8

Posted: Fri Dec 17, 2004 7:38 pm
by Guest
yes so I have read, but how to repair this?

Posted: Sat Dec 18, 2004 8:14 am
by gothate
Can you hex edit the file and just change the first 2 values? Not sure if that would work or not...

Posted: Sat Dec 18, 2004 3:34 pm
by Guest
unfortunately it changes nothing

Posted: Sun Dec 19, 2004 7:34 pm
by helmut
When searching the internet for keywords "JPG repair damaged file header" you will get good hits with valuable hints.

I've only read a very small bit of the info found. One of the hits which I find good is in Google answers. In the discussion also a software named "Pixrecovery" is mentioned which is intended for repairing JPG files. The link is http://www.officerecovery.com/pixrecovery/, there's a demo version, the software is not free.

Let us know how you go...