From kde-commits Fri Sep 12 19:03:12 2008 From: Gilles Caulier Date: Fri, 12 Sep 2008 19:03:12 +0000 To: kde-commits Subject: branches/work/libkdcraw-dng/tools Message-Id: <1221246192.800163.19744.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=122124620101662 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());