[Digikam-users] KDCraw hates me!
Paul Waldo
paul at waldoware.com
Tue Jul 8 11:15:20 BST 2008
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 at 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 at aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1
> $ which digikam
> /usr/local/bin/digikam
>
> paul at 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 at 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 at 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 Digikam-users at kde.org https://mail.kde.org/mailman/listinfo/digikam-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20080708/e63c1b43/attachment.html>
More information about the Digikam-users
mailing list