Bug 147196 - No thumbnails for RAW files (Pentax PEF, supported in dcraw)
Summary: No thumbnails for RAW files (Pentax PEF, supported in dcraw)
Status: RESOLVED FIXED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-25 12:53 UTC by Erhard Schultchen
Modified: 2007-06-26 00:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erhard Schultchen 2007-06-25 12:53:16 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Debian testing/unstable Packages

This is a sibling of Bug #141877. 
KPA should treat .pef files as RAW, allowing them to be processed using dcraw (DCRaw supports PEF). PEF is a tiff-based raw format used on PENTAX DSLRs.

I guess adding an appropriate line to ImageManager/RawImageDecoder.cpp might fix this wish.
Comment 1 Erhard Schultchen 2007-06-25 12:58:24 UTC
P.S.: Feel free to request sample files. Like in the other bug report, these take about 10 MB each.
Comment 2 Jan Kundrát 2007-06-25 13:02:08 UTC
Yeah, I'd like to verify that the dcraw version which is bundled with KPA supports these files before adding that line.
Comment 3 Erhard Schultchen 2007-06-25 14:56:20 UTC
I'll upload some samples either this evening or tomorrow morning.
By now I had a closer look, and the dcraw version MIGHT match.
As I said, PEF is used by all Pentax DSLRs, and dcraw 8.41, which seems to be bundled with the current kipi plugin, supports all but the most recent one (ist.*, K1[10]0D).

However, according to http://www.cybercom.net/~dcoffin/dcraw/RCS/dcraw.c,v my camera (K10D) is only supported as of dcraw 8.45. You think there are chances in getting a more recent dcraw into the kipi package? Preferably, before KDE4 :)
Comment 4 Erhard Schultchen 2007-06-25 19:02:32 UTC
A sample file is available at
http://www-users.rwth-aachen.de/erhard.schultchen/_pics/imgp0133.pef
(11748038 bytes, yuk!). The current debian/sid dcraw (8.39) won't decode,
ufraw 0.11 works.
Comment 5 Jan Kundrát 2007-06-26 00:04:53 UTC
SVN commit 680324 by jkt:

BUG: 147196
Support PEF, a raw format from Pentax' DSLRs. Thanks to Erhard Schultchen for
providing sample file.


 M  +4 -0      ChangeLog  
 M  +1 -0      ImageManager/RawImageDecoder.cpp  


--- branches/extragear/kde3/graphics/kphotoalbum/ChangeLog #680323:680324
@@ -1,3 +1,7 @@
+2007-06-26  Jan Kundrat  <jkt@gentoo.org>
+
+	* Support PEF, a raw format from Pentax' DSLRs.
+
 2007-06-16  Jan Kundrat  <jkt@gentoo.org>
 
 	* Display a warning instead of black screen when current image can't
--- branches/extragear/kde3/graphics/kphotoalbum/ImageManager/RawImageDecoder.cpp #680323:680324
@@ -71,6 +71,7 @@
 										  QString::fromLatin1("rdc"),
 										  QString::fromLatin1("x3f"),
 										  QString::fromLatin1("erf"),
+										  QString::fromLatin1("pef"),
 										  QString::null };
 	if (Settings::SettingsData::instance()->dontReadRawFilesWithOtherMatchingFile()) {
             static const QString standardExtensions[] = {