[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/libkdcraw-dng/tools
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2008-09-12 19:03:12
Message-ID: 1221246192.800163.19744.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 860345 by cgilles:

now work fine with 16 bits color depth


 M  +1 -1      raw2dng.cpp  


--- branches/work/libkdcraw-dng/tools/raw2dng.cpp #860344:860345
@@ -208,8 +208,8 @@
         negative->SetDefaultCropSize(ifd.fDefaultCropSizeH, ifd.fDefaultCropSizeV);
         negative->SetActiveArea(ifd.fActiveArea);
 
+        negative->SetColorChannels(3);
         negative->SetColorKeys(colorKeyRed, colorKeyGreen, colorKeyBlue);
-        negative->SetColorChannels(3);
         negative->SetBayerMosaic(1);
         negative->SetGreenSplit(0);
         negative->SetModelName(identify.make.toAscii());
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic