Comment 4 for bug 1443580

Revision history for this message
Lukas Mutschmann-Sanchez (lumusan) wrote :

I played around with this corrupted picture:
http://www.hjkl.at/trash/image20150423_080615249.jpg
and found out that it can be repaired.

first i installed the perl exiftool (sudo apt-get install libimage-exiftool-perl).
then I saved the exif analysis to an html file
exiftool -htmlDump image20150423_080615249.jpg >x.html
looking at the output I noticed a spurious End Of JPG Data Marker (0xFFd9) at Offset 0x11DAF.
Then I opened the image with ghex, overwrote that marker with zeros. Saved the File and now it's repaired.

Too bad that I have allready deleted so many of the corrupted files.