raw Nik D5000; dcraw fixed, but digikam shows pink stripe

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

raw Nik D5000; dcraw fixed, but digikam shows pink stripe

sean darcy
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
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: raw Nik D5000; dcraw fixed, but digikam shows pink stripe

Gilles Caulier-4
Thanks. I forward your mail to Alex Tutubalin for integration in libraw.

Gilles Caulier

2009/7/18 sean darcy <[hidden email]>:

> 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
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: raw Nik D5000; dcraw fixed, but digikam shows pink stripe

sean darcy
Gilles Caulier wrote:

> Thanks. I forward your mail to Alex Tutubalin for integration in libraw.
>
> Gilles Caulier
>
> 2009/7/18 sean darcy <[hidden email]>:
>> 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
>> [hidden email]
>> 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

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users