Using ddrescue I rescued most of an old harddisk and afterwards recovered files using photorec. There is plenty of photos fully restored, which is great. But there is also plenty of broken JPEGs that are either half readable and stop somewhere in the middle or have broken headers and wont open at all.
For now, I used GIMP to open them because on the ones where a portion of data is corrupted in the middle of the file, GIMP at least shows the image until the corruption occurs.
Is there any tool which:
- can open the intact portions of the file and merge them together (not stopping at the corruption, errors in GIMP "Premature end of JPEG file", "Invalid JPEG file structure: two SOI markers", etc. )
- can assist in finding the right header settings to recover at least some parts of corrupted files that are not possible to open at all