[Digikam-users] ShowFoto hates my Canon G1

Paul Waldo pwaldo at waldoware.com
Thu Apr 12 22:43:31 BST 2007


Here are the results.  Note that I ran both the Rebel and the G1 
images.  BTW, what the heck is a "Netpbm PAM image file"??


pwaldo at office ~
$ kdcraw -v -w -a -H 0 -b 1 -q 0 -n 100 -o 0 
/home/pwaldo/camera/2007-04-10/CRW_0043.CRW
Loading Canon EOS DIGITAL REBEL image from 
/home/pwaldo/camera/2007-04-10/CRW_0043.CRW ...
Wavelet denoising...
Scaling with black 126, multipliers 2.245169 1.008454 1.106280 1.000000
Bilinear interpolation...
Building histograms...
Writing data to /home/pwaldo/camera/2007-04-10/CRW_0043.ppm ...

pwaldo at office ~
$ ls -lrth /home/pwaldo/camera/2007-04-10/CRW_0043.ppm
-rw-r--r-- 1 pwaldo pwaldo 19M 2007-04-12 17:39 
/home/pwaldo/camera/2007-04-10/CRW_0043.ppm

pwaldo at office ~
$ file /home/pwaldo/camera/2007-04-10/CRW_0043.ppm
/home/pwaldo/camera/2007-04-10/CRW_0043.ppm: Netpbm PPM "rawbits" image data

pwaldo at office ~
$ kdcraw -v -w -a -H 0 -b 1 -q 0 -n 100 -o 0 
/home/pwaldo/camera/2007-04-10/CRW_6760.CRW
Loading Canon PowerShot G1 image from 
/home/pwaldo/camera/2007-04-10/CRW_6760.CRW ...
Wavelet denoising...
Scaling with black 28, multipliers 1.525362 1.392512 1.000000 1.160628
Bilinear interpolation...
Building histograms...
Writing data to /home/pwaldo/camera/2007-04-10/CRW_6760.pam ...

pwaldo at office ~
$ ls -lrth /home/pwaldo/camera/2007-04-10/CRW_6760.pam
-rw-r--r-- 1 pwaldo pwaldo 13M 2007-04-12 17:40 
/home/pwaldo/camera/2007-04-10/CRW_6760.pam

pwaldo at office ~
$ file /home/pwaldo/camera/2007-04-10/CRW_6760.pam
/home/pwaldo/camera/2007-04-10/CRW_6760.pam: Netpbm PAM image file


Gilles Caulier wrote:
> Just try to run kdcraw binary program (witch is dcraw 8.60) froma 
> console like this :
>
> kdcraw -v -w -a -H 0 -b 1 -q 0 -n 100 -o 0 
> /home/pwaldo/camera/2007-04-10/CRW_0043.CRW
>
> ... and look if a CRW_0043.ppm file is generated by dcraw. If no, this 
> is a bug in dcraw 8.60 as well.
>
> Go to dcraw home page, download the last dcraw.c file (8.69), compile 
> it and  try again...
>
> note : here with my MRW files, i have :
>
> [gilles at localhost 2006-12-26]$ kdcraw -v -w -a -H 0 -b 1 -q 0 -n 100 
> -o 0 pict0295.mrw
> Loading MINOLTA DYNAX 5D image from pict0295.mrw ...
> Wavelet denoising...
> Scaling with black 0, multipliers 1.699219 1.000000 1.613281 1.000000
> Bilinear interpolation...
> Building histograms...
> Writing data to pict0295.ppm ...
>
> Gilles Caulier
>
> 2007/4/12, Paul Waldo <pwaldo at waldoware.com 
> <mailto:pwaldo at waldoware.com>>:
>
>     Hi all,
>
>     I finally got the SVN version of Digikam to compile!  Now when I use
>     showfoto to look at my images, it seems to handle my Digital Rebel OK,
>     but dies on my Canon G1.  Here is what I see when I open a Rebel
>     image:
>
>     showfoto: /home/pwaldo/camera/2007-04-10/CRW_0043.CRW : RAW file
>     identified
>     Running RAW decoding command: kdcraw -c -v -w -a -H 0 -b 1 -q 0 -n 100
>     -o 0 /home/pwaldo/camera/2007-04-10/CRW_0043.CRW
>     RAW decoding StdErr: Loading Canon EOS DIGITAL REBEL image from
>     /home/pwaldo/camera/2007-04-10/CRW_0043.CRW ...
>     RAW decoding StdErr: Wavelet denoising...
>     RAW decoding StdErr: Scaling with black 126, multipliers 2.245169
>     1.008454 1.106280 1.000000
>     RAW decoding StdErr: Bilinear interpolation...
>     RAW decoding StdErr: Building histograms...
>     RAW decoding StdErr: Writing data to standard output ...
>     lcms: Error #4096; Read from memory error. Got 0 bytes, block
>     should be
>     of 128 bytes
>     lcms: Error #12288; Corrupted memory profile
>     showfoto: Error: Input profile is NULL
>
>
>     Now, when I try to open any of my G1 images, I get this:
>
>     showfoto: /home/pwaldo/camera/2007-04-10/CRW_6760.CRW : RAW file
>     identified
>     Running RAW decoding command: kdcraw -c -v -w -a -H 0 -b 1 -q 0 -n
>     100
>     -o 0 /home/pwaldo/camera/2007-04-10/CRW_6760.CRW
>     RAW decoding StdErr: Loading Canon PowerShot G1 image from
>     /home/pwaldo/camera/2007-04-10/CRW_6760.CRW ...
>     RAW decoding StdErr: Wavelet denoising...
>     RAW decoding StdErr: Scaling with black 28, multipliers 1.525362
>     1.392512 1.000000 1.16062
>     RAW decoding StdErr:
>     RAW decoding StdErr: Bilinear interpolation...
>     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:
>     [...]
>     Cannot parse header from RAW decoding: Magic is: u
>     showfoto: WARNING: Failed to load image CRW_6760.CRW
>     showfoto: WARNING: [Digikam::DImg* Digikam::DImgInterface::getImg()]
>     d->image is NULL
>
>
>     Any ideas?  Thanks in advance!
>
>     Paul
>     _______________________________________________
>     Digikam-users mailing list
>     Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>   




More information about the Digikam-users mailing list