[Digikam-devel] [Bug 307277] New: digikam corrupts MPO (3D pictures produced by the Fujifilm W3 camera) files when attempting to rotate them during import

Vadim kde at vadim.ws
Sun Sep 23 18:24:54 BST 2012


https://bugs.kde.org/show_bug.cgi?id=307277

            Bug ID: 307277
          Severity: critical
           Version: 3.0.0
          Priority: NOR
          Assignee: digikam-devel at kde.org
           Summary: digikam corrupts MPO (3D pictures produced by the
                    Fujifilm W3 camera)  files when attempting to rotate
                    them during import
    Classification: Unclassified
                OS: Linux
          Reporter: kde at vadim.ws
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: Import
           Product: digikam

The Fujifilm W3 3D camera is a compact camera that takes 3D photos. It uses the
MPO format. It is documented at:
http://www.cipa.jp/english/hyoujunka/kikaku/pdf/DC-007_E.pdf

The format is an extension of JPEG, and as such it works fine in applications
that read it. However writing it properly requires understanding the
extensions.

The problem is twofold:

1. Digikam doesn't correctly write back the file, and corrupts it
2. It shouldn't be doing that anyway, as the 3D effect only works in the
orientation it was taken -- 3D images can't be rotated. Rotation of 3D pictures
should never be done automatically. If Digikam permits rotating 3D images by
user request, the user should be given a warning.





Reproducible: Always

Steps to Reproduce:
1. Take picture on Fujifilm W3 3D camera (or any other camera using the MPO
format)
2. Import in digikam. If digikam reports it's rotating the file, it will be
broken. Corrupted files can be detected by grepping for 'digiKam'
3. Upload the file back to the camera. 
Actual Results:  
Camera will report an error if attempting to display it. In the thumbnail view,
the image will be visible, but broken files will only have 2D thumbnails.


Expected Results:  
File should be copied from the camera/card unmodified, for the above explained
reasons.

A 3D camera isn't required to test this bug. Sample MPO files can be obtained
for instance at http://3dporch.com/

Since MPO files can't be rotated meaningfully, simply leaving the file
untouched is an acceptable fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list