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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1443580

Title:
  Camera corrupts images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/camera-app/+bug/1443580/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to