[Digikam-devel] [Bug 127991] New: digikam image editor and raws (nef)

Roger Larsson roger.larsson at norran.net
Thu May 25 02:26:05 BST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=127991         
           Summary: digikam image editor and raws (nef)
           Product: digikam
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: roger.larsson norran net


Version:           0.8.2-rc1 (using KDE 3.4.2 Level "b" , SUSE 10.0)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13-15.8-default

1. Opening RAWs in digikam image editor is VERY slow
  (16MB NEF takes 15 secs on an AMD Athlon(tm) 64 Processor 3500+!).
2. digikam image editor is not even close to be a full featured raw converter.
   Compare with UFRaw.

> time dcraw -2 -a -w -q 0 rln_0254.nef
real    0m13.563s
user    0m12.349s
sys     0m0.508s

> time dcraw -2 -w -h rln_0254.nef
real    0m2.087s
user    0m1.912s
sys     0m0.144s

> time exiftool -PreviewImage -b rln_0254.nef > preview.jpg
real    0m0.201s
user    0m0.184s
sys     0m0.016s
(this preview is 570x375)

This, and the fact that it shows every raw even those who
have an .jpg (bug #126153) make it unsuitable to use for
browsing images in full screen mode.

I would suggest using one of these:
* Don't show if there is a matching imagefile (bug #126153)
* Show preview only (probably there is one embedded)
* Show thumbnail (large icon) if it exists
* Show half quality with no automatic white balance

A patch for the last alternative follows:
--- ./digikam/utilities/imageeditor/imlibinterface.cpp.org      2006-05-25 03:21:44.000000000 +0200
+++ ./digikam/utilities/imageeditor/imlibinterface.cpp  2006-05-25 02:51:47.000000000 +0200
 @ -317,12 +317,12  @

             // run dcraw with options:
             // -c : write to stdout
-            // -q : Use simple bilinear interpolation for quick results
+            // -h : Use half size for quicker results
             // -2 : 8bit ppm output
             // -w : Use camera white balance, if possible
             // -a : Use automatic white balance
             command  = DcrawBinary::instance()->path();
-            command += " -c -2 -w -a -q 0 ";
+            command += " -c -2 -w -h ";
             command += QFile::encodeName( KProcess::quote( filename ) );
             kdWarning() << "Running dcraw command : " << command << endl;



More information about the Digikam-devel mailing list