Summary: | sigma raw files and preview (.x3f) | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Danni Coy <danni.coy> |
Component: | Plugin-DImg-RAW | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, lexa |
Priority: | NOR | ||
Version: | 2.6.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.7.0 | |
Sentry Crash Report: |
Description
Danni Coy
2012-06-09 02:22:27 UTC
Can you provide a sample file for testing? We don't use dcraw for RAW handling, but libraw (http://www.libraw.org) Sound like a wish for libraw as well. Please provide a sample file for Alex (libraw author) Also, give us which libraw you use ? Go to Help/Components Info for details. Marcel : We don't use Exiv2 for raw preview extraction. Right or i'm wrong ? Both are possible (exiv2 or libraw). Typically libraw has a better support of raw file preview than exiv2 Gilles Caulier We use exiv2, it gives us a very clean API, we see which previews are available and at which size, and can decide before loading anything if the preview is large enough or too small etc. Marcel if a raw file type mime is not supported by Exiv2, libkdcraw must be used instead. libraw from libkdcraw support X3F. I suspect that X3F is not suported by Exiv2... Gilles Caulier Git commit 14e711ba5d7146fb15d90a9609bfdbfda6dff8c4 by Marcel Wiesweg. Committed on 19/06/2012 at 20:05. Pushed by mwiesweg into branch 'master'. Use libraw as a fallback for RAW preview loading in case exiv2 fails. Some cleanups and code reuse in the code. M +55 -30 libs/threadimageio/previewtask.cpp http://commits.kde.org/digikam/14e711ba5d7146fb15d90a9609bfdbfda6dff8c4 The patch enables usage of libraw preview loading. Note I don't have recent .x3f and none was provided here, thus waitingforinfo as I cannot test. I thought I had added one - but at ~40mb seems to be too big for the tracker - I have published the fire here http://ubuntuone.com/0MiyU3Og5lyaXWoKDtQlSN Indeed, Exiv2 fails at this image, but with this fix, the embedded JPEG is extracted by dcraw. |