How to repair damaged jpg?

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
mlv
Posts: 1
Joined: Thu Dec 16, 2004 9:03 pm

How to repair damaged jpg?

Post 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.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to repair damaged jpg?

Post 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
Pierre.
Guest

Post by Guest »

yes so I have read, but how to repair this?
gothate

Post by gothate »

Can you hex edit the file and just change the first 2 values? Not sure if that would work or not...
Guest

Post by Guest »

unfortunately it changes nothing
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post 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...
Post Reply