← Back to team overview

touch-packages team mailing list archive

[Bug 1443580] Re: Camera corrupts images

 

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
Touch seeded packages, which is subscribed to camera-app in Ubuntu.
https://bugs.launchpad.net/bugs/1443580

Title:
  Camera corrupts images

Status in camera-app package in Ubuntu:
  Confirmed

Bug description:
  I am using a bq aquaris 4.5 ubuntu edition (14.10R20 Ubuntu Image
  Part: 20150312 Device Image Part: 20150310-3201c0a).

  I wanted to take multiple photos.
  After every shot the camera showed me a preview.
  When I wanted to check my photos afterwards, checking the photo roll, I could find only 1 photo, while swiping to the next one it showed only a spinning "cycle of friends".

  I checked the pics on Ubuntu Desktop and found corrupted files instead
  of image files (JPEG datastream contains no image).

  Enclosed please find also the logfile from ~/.cache/upstart
  /application-click-com.ubuntu.camera.log

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


References