Bug 255570 - Show previews for RAW images
Summary: Show previews for RAW images
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-29 10:07 UTC by S. Burmeister
Modified: 2010-11-03 12:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.6


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2010-10-29 10:07:59 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

RAW images contain a jpeg preview which should be used for previews within dolphin rather than showing the file type "unknown".

Reproducible: Always
Comment 1 Christoph Feck 2010-10-29 16:21:07 UTC
The RAW thumbnailer is part of kdegraphics, so you might need to install it separately.

Can you please check Dolphin Settings > General > Previews tab? There should be a "RAW Photo Camera Files" check box that you need to enable.
Comment 2 S. Burmeister 2010-10-29 16:33:11 UTC
I have enabled that checkbox and made sure that the file size limit for previews is higher than the RAW's file size.

However neither does dolphin show any preview nor does it show and meta data. It does not even recognize the files as pictures.

Digikam can show the previews of the RW2 files.
Comment 3 Christoph Feck 2010-10-29 17:21:46 UTC
Right, RW2 is probably a new MIME type.

Please add the "*.rw2" file name pattern to systemsettings > File Assocations > image/x-kde-raw or to image/x-panasonic-raw.

You might have to restart KDE after this change (not sure here).
Comment 4 S. Burmeister 2010-10-29 18:19:37 UTC
That helped. Should it not be added by default? rw2 is not that new.
Comment 5 Christoph Feck 2010-10-29 19:42:00 UTC
I think that it needs to be added upstream (to shared-mime-database).

David knows better.
Comment 6 David Faure 2010-10-29 20:41:38 UTC
Sure, but do you have more info on this *.rw2 format?
How does it differ from *.raw?
Any idea why *.raw is called "image/x-panasonic-raw"?
Is it really panasonic-only?
Maybe rw2 is from another vendor then?
Do you have a small example file?
Comment 7 S. Burmeister 2010-10-29 21:56:01 UTC
http://digikam3rdparty.free.fr/TEST_IMAGES/RAW/HORIZONTAL/ has some rw2 pictures that can be used to test.

http://en.wikipedia.org/wiki/Raw_image_format suggests that panasonic uses both extensions, yet I am not sure whether or in what aspect they differ.
Comment 8 David Faure 2010-11-02 21:08:21 UTC
Tese sample files are huge, 11 MB is too much for shared-mime-info's set of sample files. Is there any way you could create a "as small as possible" rw2 file?
I'll have a look at the magic bytes in one of the bigger samples, meanwhile, and at adding the mimetype definition to shared-mime-info.
Comment 9 David Faure 2010-11-02 22:01:01 UTC
Mimetype image/x-panasonic-raw2 added to shared-mime-info in 51cbde9068b6528af8b01207c11172b72d78cc35.
Comment 10 David Faure 2010-11-03 12:17:57 UTC
SVN commit 1192578 by dfaure:

Use the base mimetype for all raw images -> no need to list them all explicitely, and this way we get
new subclasses, like image/x-panasonic-raw2 which I just added to shared-mime-info.
BUG: 255570


 M  +2 -1      rawthumbnail.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1192578