KDCraw hates me!

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

KDCraw hates me!

Paul Waldo
Hi all,

I am running Kubuntu Gutsy with the stock digikam installed.  I have built and installed digikam 0.9.4-rc1 in /usr/local.  I cannot edit raw images, as kdcraw is unable to decode the image.

There seems to be two issues here:
  1. kdcraw run from within digikam fails, saying it can't decode the image.  When I try to run the command manually, it seems to work fine!
  2. the new digikam is using the stock version in /usr/lib/libkdcraw3, rather than the one in /usr/local/lib/libkdcraw3.  This is not a big deal, as both are version 8.83.  I'd certainly like to rectify this for when the versions differ!
Here are my environment settings:

paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
$ env|grep /usr/local
LD_LIBRARY_PATH=/usr/local/lib:
KDEDIR=/usr/local:/usr
PATH=/usr/local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/paul/bin
MAN_PATH=/usr/local/man:/usr/local/man:
PWD=/usr/local/src/graphics/digikam-0.9.4-rc1
KDEDIRS=/usr/local:/usr

Below is the (edited) output from running digikam then trying to edit a raw file.

paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
$ which digikam
/usr/local/bin/digikam

paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
$ digikam
X Error: BadDevice, invalid or uninitialized input device 171
[snip]
digikam: ICC profiles repository is: color_management
Found dcraw version: 8.83
digikam: ScanLib: Finding non-existent Albums: 529 ms
digikam: ScanLib: Finding items not in database: 27549 ms
digikam: ScanLib: Updating items without a date: 18 ms
digikam: KDirWatch method = INotify
KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore list for host application
KIPI (loading): KIPI::PluginLoader: Loaded plugin JPEGLossless
[snip]
digikam: ImagePlugin_Core plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Core
digikam: ImagePlugin_RainDrop plugin loaded
[snip]
digikam: Theme file loaded: /usr/local/share/apps/digikam/themes/Dreary
digikam: /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw : RAW file identified
Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -v -4 -h -H 0 -b 1 -w -q 0 -o 1 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw
RAW decoding StdErr: Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
RAW decoding StdErr: Scaling with darkness 22, saturation 1023, and
multipliers 1.333333 1.210909 1.535758 1.000000
RAW decoding StdErr: Converting to sRGB colorspace...
RAW decoding StdErr: Writing data to standard output ...
digikam: White Level: 8091
digikam: White Point: 65535
digikam: /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw : RAW file identified
Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b 3.77 -w -q 3 -o 0 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw
RAW decoding StdErr: Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
RAW decoding StdErr: Scaling with darkness 22, saturation 1023, and
multipliers 0.868193 0.788477 1.000000 0.651144
RAW decoding StdErr: Bilinear interpolation...
VNG interpolation...
RAW decoding StdErr: Rebuilding highlights...
RAW decoding StdErr: Building histograms...
RAW decoding StdErr: Writing data to standard output ...
Cannot parse header from RAW decoding: Magic is: P7
Cannot parse header from RAW decoding: Magic is: -
Cannot parse header from RAW decoding: Magic is: *s
[more output, but irrelevant]

So, just on a whim, I tried running the command manually, both the old and the new kdcraw:

paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
$ /usr/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b 3.77 -w -q 3 -o 0 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw > /dev/null
Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
Scaling with darkness 22, saturation 1023, and
multipliers 0.868193 0.788477 1.000000 0.651144
Bilinear interpolation...
VNG interpolation...
Rebuilding highlights...
Building histograms...
Writing data to standard output ...

paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
$ /usr/local/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b 3.77 -w -q 3 -o 0 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw > /dev/null
Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
Scaling with darkness 22, saturation 1023, and
multipliers 0.868193 0.788477 1.000000 0.651144
Bilinear interpolation...
VNG interpolation...
Rebuilding highlights...
Building histograms...
Writing data to standard output ...

As you can see, both the old version and the new version decode the file just fine.  Note that this happens only on Powershot G1 images.  My Rebel raw images are decoded OK.  Any ideas on why
  1. kdcraw hates my G1 images?
  2. dcraw is using the old kdcraw?
Thanks in advance!

Paul


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

Re: KDCraw hates me!

Paul Waldo
Bump
----- "Paul Waldo" wrote:
> Hi all,

>
> I am running Kubuntu Gutsy with the stock digikam installed.  I have built and installed digikam 0.9.4-rc1 in /usr/local.  I cannot edit raw images, as kdcraw is unable to decode the image.
>
> There seems to be two issues here:
>
  1. kdcraw run from within digikam fails, saying it can't decode the image.  When I try to run the command manually, it seems to work fine!
  2. the new digikam is using the stock version in /usr/lib/libkdcraw3, rather than the one in /usr/local/lib/libkdcraw3.  This is not a big deal, as both are version 8.83.  I'd certainly like to rectify this for when the versions differ!
    >
Here are my environment settings:
>
> paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
> $ env|grep /usr/local
> LD_LIBRARY_PATH=/usr/local/lib:
> KDEDIR=/usr/local:/usr
> PATH=/usr/local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/paul/bin
> MAN_PATH=/usr/local/man:/usr/local/man:
> PWD=/usr/local/src/graphics/digikam-0.9.4-rc1
> KDEDIRS=/usr/local:/usr
>
> Below is the (edited) output from running digikam then trying to edit a raw file.
>
> paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
> $ which digikam
> /usr/local/bin/digikam
>
> paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
> $ digikam
> X Error: BadDevice, invalid or uninitialized input device 171
> [snip]
> digikam: ICC profiles repository is: color_management
> Found dcraw version: 8.83
> digikam: ScanLib: Finding non-existent Albums: 529 ms
> digikam: ScanLib: Finding items not in database: 27549 ms
> digikam: ScanLib: Updating items without a date: 18 ms
> digikam: KDirWatch method = INotify
> KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore list for host application
> KIPI (loading): KIPI::PluginLoader: Loaded plugin JPEGLossless
> [snip]
> digikam: ImagePlugin_Core plugin loaded
> digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Core
> digikam: ImagePlugin_RainDrop plugin loaded
> [snip]
> digikam: Theme file loaded: /usr/local/share/apps/digikam/themes/Dreary
> digikam: /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw : RAW file identified
> Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -v -4 -h -H 0 -b 1 -w -q 0 -o 1 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw
RAW decoding StdErr: Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
> RAW decoding StdErr: Scaling with darkness 22, saturation 1023, and
> multipliers 1.333333 1.210909 1.535758 1.000000
> RAW decoding StdErr: Converting to sRGB colorspace...
> RAW decoding StdErr: Writing data to standard output ...
> digikam: White Level: 8091
> digikam: White Point: 65535
> digikam: /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw : RAW file identified
> Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b 3.77 -w -q 3 -o 0 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw
RAW decoding StdErr: Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
> RAW decoding StdErr: Scaling with darkness 22, saturation 1023, and
> multipliers 0.868193 0.788477 1.000000 0.651144
> RAW decoding StdErr: Bilinear interpolation...
> VNG interpolation...
> RAW decoding StdErr: Rebuilding highlights...
> RAW decoding StdErr: Building histograms...
> RAW decoding StdErr: Writing data to standard output ...
> Cannot parse header from RAW decoding: Magic is: P7
Cannot parse header from RAW decoding: Magic is: -
Cannot parse header from RAW decoding: Magic is: *s
[more output, but irrelevant]

>
> So, just on a whim, I tried running the command manually, both the old and the new kdcraw:
>
> paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
> $ /usr/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b 3.77 -w -q 3 -o 0 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw > /dev/null
> Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
> Scaling with darkness 22, saturation 1023, and
> multipliers 0.868193 0.788477 1.000000 0.651144
> Bilinear interpolation...
> VNG interpolation...
> Rebuilding highlights...
> Building histograms...
> Writing data to standard output ...
>
> paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
> $ /usr/local/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b 3.77 -w -q 3 -o 0 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw > /dev/null
> Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
> Scaling with darkness 22, saturation 1023, and
> multipliers 0.868193 0.788477 1.000000 0.651144
> Bilinear interpolation...
> VNG interpolation...
> Rebuilding highlights...
> Building histograms...
> Writing data to standard output ...
>
> As you can see, both the old version and the new version decode the file just fine.  Note that this happens only on Powershot G1 images.  My Rebel raw images are decoded OK.  Any ideas on why
>
  1. kdcraw hates my G1 images?
  2. dcraw is using the old kdcraw?
Thanks in advance!
>
> Paul
>
>
> _______________________________________________ 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: KDCraw hates me!

Gilles Caulier-4
In reply to this post by Paul Waldo
2008/7/2 Paul Waldo <[hidden email]>:

> Hi all,
>
> I am running Kubuntu Gutsy with the stock digikam installed.  I have built
> and installed digikam 0.9.4-rc1 in /usr/local.  I cannot edit raw images, as
> kdcraw is unable to decode the image.
>
> There seems to be two issues here:
>
> kdcraw run from within digikam fails, saying it can't decode the image.
> When I try to run the command manually, it seems to work fine!
> the new digikam is using the stock version in /usr/lib/libkdcraw3, rather
> than the one in /usr/local/lib/libkdcraw3.  This is not a big deal, as both
> are version 8.83.  I'd certainly like to rectify this for when the versions
> differ!
>
> Here are my environment settings:
>
> paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
> $ env|grep /usr/local
> LD_LIBRARY_PATH=/usr/local/lib:
> KDEDIR=/usr/local:/usr
> PATH=/usr/local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/paul/bin
> MAN_PATH=/usr/local/man:/usr/local/man:
> PWD=/usr/local/src/graphics/digikam-0.9.4-rc1
> KDEDIRS=/usr/local:/usr
>
> Below is the (edited) output from running digikam then trying to edit a raw
> file.
>
> paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
> $ which digikam
> /usr/local/bin/digikam
>
> paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
> $ digikam
> X Error: BadDevice, invalid or uninitialized input device 171
> [snip]
> digikam: ICC profiles repository is: color_management
> Found dcraw version: 8.83
> digikam: ScanLib: Finding non-existent Albums: 529 ms
> digikam: ScanLib: Finding items not in database: 27549 ms
> digikam: ScanLib: Updating items without a date: 18 ms
> digikam: KDirWatch method = INotify
> KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore
> list for host application
> KIPI (loading): KIPI::PluginLoader: Loaded plugin JPEGLossless
> [snip]
> digikam: ImagePlugin_Core plugin loaded
> digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Core
> digikam: ImagePlugin_RainDrop plugin loaded
> [snip]
> digikam: Theme file loaded: /usr/local/share/apps/digikam/themes/Dreary
> digikam: /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw : RAW
> file identified
> Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -v -4 -h -H 0 -b
> 1 -w -q 0 -o 1 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw
> RAW decoding StdErr: Loading Canon PowerShot G1 image from
> /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
> RAW decoding StdErr: Scaling with darkness 22, saturation 1023, and
> multipliers 1.333333 1.210909 1.535758 1.000000
> RAW decoding StdErr: Converting to sRGB colorspace...
> RAW decoding StdErr: Writing data to standard output ...
> digikam: White Level: 8091
> digikam: White Point: 65535
> digikam: /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw : RAW
> file identified
> Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b
> 3.77 -w -q 3 -o 0
> /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw
> RAW decoding StdErr: Loading Canon PowerShot G1 image from
> /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
> RAW decoding StdErr: Scaling with darkness 22, saturation 1023, and
> multipliers 0.868193 0.788477 1.000000 0.651144
> RAW decoding StdErr: Bilinear interpolation...
> VNG interpolation...
> RAW decoding StdErr: Rebuilding highlights...
> RAW decoding StdErr: Building histograms...
> RAW decoding StdErr: Writing data to standard output ...
> Cannot parse header from RAW decoding: Magic is: P7
> Cannot parse header from RAW decoding: Magic is: -
> Cannot parse header from RAW decoding: Magic is: *s
> [more output, but irrelevant]
>
> So, just on a whim, I tried running the command manually, both the old and
> the new kdcraw:
>
> paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
> $ /usr/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b 3.77 -w -q 3 -o 0
> /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw > /dev/null
> Loading Canon PowerShot G1 image from
> /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
> Scaling with darkness 22, saturation 1023, and
> multipliers 0.868193 0.788477 1.000000 0.651144
> Bilinear interpolation...
> VNG interpolation...
> Rebuilding highlights...
> Building histograms...
> Writing data to standard output ...
>
> paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
> $ /usr/local/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b 3.77 -w -q 3 -o 0
> /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw > /dev/null
> Loading Canon PowerShot G1 image from
> /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...
> Scaling with darkness 22, saturation 1023, and
> multipliers 0.868193 0.788477 1.000000 0.651144
> Bilinear interpolation...
> VNG interpolation...
> Rebuilding highlights...
> Building histograms...
> Writing data to standard output ...
>
> As you can see, both the old version and the new version decode the file
> just fine.  Note that this happens only on Powershot G1 images.  My Rebel
> raw images are decoded OK.  Any ideas on why
>
> kdcraw hates my G1 images?
> dcraw is using the old kdcraw?
>
> Thanks in advance!
>
> Paul
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>

No idea.

here i can play with Canon G1 files without problem. of course i
install all in standard KDEDIR (/usr). I never use /usr/local.

Best

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