[digikam] [Bug 368862] Thumbnails for Olympus raw (ORF) in albumview are blurred

via KDE Bugzilla bugzilla_noreply at kde.org
Wed Sep 28 17:54:27 BST 2016


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

--- Comment #21 from caulier.gilles at gmail.com ---
If i understand the thread in libraw forum, the Thumbnail Thread interface in
digiKam do not take the largest preview to render the thumb in icon view.

Typically, ORF is based on TIFF/EP, and the first thumbnail returned in a small
one from Exif thumbnail tags.

We need to check this image size to see if it enough largest accordingly with
thumbnail max size set in config dialog (typically 256 or 512).

If the condition is false, we must take the preview JPEG embeddedin RAW files.

The code relevant is in this file :

https://quickgit.kde.org/?p=digikam.git&a=blob&f=libs%2Fthreadimageio%2Fthumbnailcreator.cpp

The main wrapper is in ThumbnailCreator::createThumbnail(), which will call
ThumbnailCreator::loadImagePreview(). This method will use Exiv2 API to get
preview. I think the problem is here with ORF because it take Exif thumb, not
preview. We must check if image size taken with Exiv2 is enough large, if not
QImage returned must be null.

Later in ThumbnailCreator::createThumbnail(), we will try with libraw through
DRawDecoder::loadEmbeddedPreview(). This must do the stuff properly.

Gilles

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



More information about the Digikam-devel mailing list