How to repair damaged jpg?

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

Moderators: XnTriq, xnview

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

How to repair damaged jpg?

Post by mlv » Thu Dec 16, 2004 9:14 pm

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: 32733
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to repair damaged jpg?

Post by xnview » Fri Dec 17, 2004 8:21 am

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 » Fri Dec 17, 2004 7:38 pm

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

gothate

Post by gothate » Sat Dec 18, 2004 8:14 am

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 » Sat Dec 18, 2004 3:34 pm

unfortunately it changes nothing

User avatar
helmut
Posts: 8184
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut » Sun Dec 19, 2004 7:34 pm

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