JPEG-Repair Manual | Repair corrupted JPEG header

<< Back

Repair corrupt JPEGs using reference/sample file

This type of repair will only work if damage is limited to the JPEG header. This repair can be done in batch. So of you have multiple corrupt JPEGs that were all shot using the same camera, you can repair them in one go all using the same reference file.


In this case you need Repair (header)

A reference file is an intact JPEG shot with the same camera using the same settings:

  • Quality
  • ISO
  • Resolution
  • Orientation

Steps to repair corrupted JPEG headers:

  1. Select a repair mode > Pick Repair (header).
  2. You can skip the parsing options, leave default.
  3. Click folder icon > Select corrupt file(s).
  4. You’re prompted to select the reference file.
  5. Click Repair.JPEG repair will automatically save repaired files. It also shows previews in the main screen. If there were any errors JPEG-Repair shows an error log window.
Errors during JPEG repair

The error log can give some idea why repair failed and if files can be fixed at all.

  • JPEG-Repair automatically saves files using the following format: OriginalName-1.JPG. For each file it is able to repair it will show a preview and certain details such as resolution (taken from reference file header).
  • Donor header is stripped from non essential JPEG markers and data specific for donor JPEG.
  • If repaired JPEG looks odd you may be using an incorrect reference file.


Different resolution than original JPEG

Wrong sample: “Donor’ resolution does not match patient.

Wrong header and fragments from different files

Wrong resolution donor + appears to contain fragments from different images. Possible due to trying to repair files after file recovery.

Wrong resolution sample can be fixed if correct reference file is not available. Intermixed files need to be evaluated on a case by case basis.