[Digikam-users] raw Nik D5000; dcraw fixed, but digikam shows pink stripe

sean darcy seandarcy2 at gmail.com
Sun Jul 19 04:22:23 BST 2009


Gilles Caulier wrote:
> Thanks. I forward your mail to Alex Tutubalin for integration in libraw.
> 
> Gilles Caulier
> 
> 2009/7/18 sean darcy <seandarcy2 at gmail.com>:
>> I've uploaded a .nef file from my new Nikon D5000:
>>
>> http://filebin.ca/kvhjnf/dsc_0047.nef
>>
>> converting it with dcraw 8.95 gave a pink stripe on the right. But David
>> Coffin (as hard-working as the digikam devs!) sent my a fix overnight:
>>
>> Hi Sean,
>>
>>     Use this patch, which will appear in v8.96:
>>
>> --- dcraw.c     2009/06/19 21:38:38     1.425
>> +++ dcraw.c     2009/06/25 14:34:41
>> @@ -7059,6 +7059,8 @@
>>             !strcmp(model,"D700")) {
>>     width -= 4;
>>     left_margin = 2;
>> +  } else if (!strcmp(model,"D5000")) {
>> +    width -= 42;
>>   } else if (!strncmp(model,"D40",3) ||
>>             !strncmp(model,"D50",3) ||
>>             !strncmp(model,"D70",3)) {
>>
>>                                Dave Coffin  7/18/2009
>>
>> which worked. That is, if I convert the raw file:
>>
>> dcraw dsc_0047.nef and then open dsc_0047.ppm in digikam, no pink stripe.
>>
>> With the new dcraw installed, I rebuilt /usr/lib64/libkdcraw.so.7.0.0,
>> /usr/lib64/libkdcraw.so.7 and /usr/lib64/libkdcraw.so. Then I rebuilt
>> digikam and kipi-plugins.
>>
>> But in digikam, I still see the pink stripe when I edit the .nef file.
>>
>> sean
>>
>> _______________________________________________
>> Digikam-users mailing list
>> Digikam-users at kde.org
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
Ah, I'd missed that kdegraphics depends on libraw, not dcraw.

In any event, I hacked dcraw_common.cpp in libkdcraw/libraw/internal, 
and my pink stripe is gone.

Thanks.

sean




More information about the Digikam-users mailing list