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

Gilles Caulier caulier.gilles at gmail.com
Mon Sep 24 21:39:25 BST 2012


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

--- Comment #3 from Gilles Caulier <caulier.gilles at gmail.com> ---
>Just to be sure, the function isJpeg should return false, if it sees MPO files, correct?

Yes.

>Mimetype of an MPO file says JPEG only. I will get the extension from the filename. Is that fine? Or should I do anything else?

yes. Look how it's do in libkexiv2 for ex. :

https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2/repository/revisions/master/entry/libkexiv2/kexiv2_p.cpp#L105

... we use this way to check if Raw file extension are supported in writing
mode...

Gilles Caulier

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



More information about the Digikam-devel mailing list