Version: (using KDE KDE 3.5.2) Installed from: FreeBSD Ports Compiler: gcc 3.4.4 OS: FreeBSD Nikon raw files with the extension *.nef, do not show thumbnails after updating to KDE 3.5. The nef files actually have an embeded tiff file as a preview. When doing a hex dump of the first few bytes of the file it matches the mime type of a big-endian tiff file, MM\x00\x2a. When the mime type of x-raw is removed it is identified as a tiff file and the embedded tiff preview is shown as a thumbnail but no program associations can be made to open the raw image. If the file extension is registered in File Associations in the Control Panel, programs can be assigned to open the raw file but Konqeror no longer shows a preview of the file.
Did this work in a previous version of KDE? Are you able to attach a sample image which doesn't work? Thanks.
Yes, this worked in version 3.4 of KDE. I don't know if it is appropriate to attach large pictures here. But here is a link to a 6 MB test image on my home server. http://209.98.225.50/~olson/pictures/test.nef Thanks for looking at this. Dan
So I think I've figured it out. Back on Feb 8, the kdelibs/kio/magic file was changed to include x-raw which includes raw image formats from many different cameras, including my Nikon, *.nef. This file is installed in /usr/local/share/mimelnk/magic on my FreeBSD system. The file that controls image thumbnail creation is kdebase/kioslave/thumbnail/imagethumbnail.desktop which is installed to /usr/local/share/services/imagethumbnail.desktop. This file needs to have image/x-raw added to the MimeType line. With this line added my raw files now get image previews in konqueror. My nef files have a tiff preview embedded in the file. I've also checked a cr2 file which also has a tiff preview. I do not know what will happen if a raw file without a preview is accessed to make a thumbnail or other raw files with different image preview formats.
I think I can confirm this: Kubuntu Feisty w. KDE 3.5.6: Konqueror doesn't show thumbnails for .nef files and KPhotoAlbum shows only a low res version of the actual image. Really annoying.
Kubuntu Feisty w. KDE 3.5.7: I added image/x-raw to /usr/share/services/imagethumbnail.desktop Then I added the embedded image viewer (khtmlimage) as default embedded viewer. Now I can see NEF thumbnails in Konqueror which is great! Though I also needed to increase the file size limit to 7 megs to be able to see thumbnails of all NEFs. I don't know if Konq is supposed to show also the 'full quality' TIFFs with the embedded viewer, for me it shows only the same 160px thumbnail.
In the svn version this works now great, if you have libkdcraw installed.
(In reply to comment #6) > In the svn version this works now great, if you have libkdcraw installed. So this is fixed? If not please reopen and upload a new example file.