ShowFoto hates my Canon G1

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

ShowFoto hates my Canon G1

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

Re: ShowFoto hates my Canon G1

Gilles Caulier-4
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@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 <[hidden email]>:
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
[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: ShowFoto hates my Canon G1

Bugzilla from pwaldo@waldoware.com
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@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@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@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@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@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@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@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 <[hidden email]
> <mailto:[hidden email]>>:
>
>     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
>     [hidden email] <mailto:[hidden email]>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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: ShowFoto hates my Canon G1

Arnd Baecker
Hi Paul,


On Thu, 12 Apr 2007, Paul Waldo wrote:

> 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"??

man pam (sorry, couldn't resist ;-)

 pam - portable arbitrary map file format

But no help on the main question from my side, best,

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

Re: ShowFoto hates my Canon G1

Gilles Caulier-4
try "display CRW_0043.ppm"... You will se the image.

Paul, can you send me a picture sample from your camera (in private) to test here...

Thanks in advance

Gilles

2007/4/13, Arnd Baecker <[hidden email]>:
Hi Paul,


On Thu, 12 Apr 2007, Paul Waldo wrote:

> 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"??

man pam (sorry, couldn't resist ;-)

pam - portable arbitrary map file format

But no help on the main question from my side, best,

Arnd
_______________________________________________
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: ShowFoto hates my Canon G1

Gilles Caulier-4
Using current implementation from svn (digikam, likdcraw, libkexiv2, libkipi, kipi-plugins), compiled with ./configure --enable-debug=full under Mandriva 2007, well...

...no problem to load your CRW Canon G1 image in editor, and to show it like thumb and preview:

http://digikam3rdparty.free.fr/Screenshots/digikam0.9.2-CRWfromCanonG1.png

Are you used some compilation optimization options on your computer ?

libkdcraw use KProcess from KDE API. Witch KDE and Qt version you use on your computer ?

Gilles

2007/4/13, Paul Waldo <[hidden email]>:
Hi Gilles,

Attached is the problematic G1 image.  I'm hoping that whatever you find
is also the problem I have been having with digikam 0.9.1.  I had been
unable to open RAW images with 0.9.1, but I had always been trying with
G1 images, not the Rebel images.  Please let me know if there is
anything else I can do to help in tracking down the problem.  Thanks!

Paul

Gilles Caulier wrote:

> try "display CRW_0043.ppm"... You will se the image.
>
> Paul, can you send me a picture sample from your camera (in private)
> to test here...
>
> Thanks in advance
>
> Gilles
>
> 2007/4/13, Arnd Baecker <[hidden email]
> <mailto:[hidden email]>>:
>
>     Hi Paul,
>
>
>     On Thu, 12 Apr 2007, Paul Waldo wrote:
>
>     > 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"??

>
>     man pam (sorry, couldn't resist ;-)
>
>     pam - portable arbitrary map file format
>
>     But no help on the main question from my side, best,
>
>     Arnd
>     _______________________________________________
>     Digikam-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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: ShowFoto hates my Canon G1

Bugzilla from pwaldo@waldoware.com
Thanks for taking a look Gilles.  I get the same results--it opens fine
in digikam.  Editing the image is the problem.  If I choose the Rebel
image, right click, and select "Open With| showfoto", showfoto runs and
opens the image.  If I do the same with the G1 image, I get the error.

Paul

Gilles Caulier wrote:

> Using current implementation from svn (digikam, likdcraw, libkexiv2,
> libkipi, kipi-plugins), compiled with ./configure --enable-debug=full
> under Mandriva 2007, well...
>
> ...no problem to load your CRW Canon G1 image in editor, and to show
> it like thumb and preview:
>
> http://digikam3rdparty.free.fr/Screenshots/digikam0.9.2-CRWfromCanonG1.png
>
> Are you used some compilation optimization options on your computer ?
>
> libkdcraw use KProcess from KDE API. Witch KDE and Qt version you use
> on your computer ?
>
> Gilles
>
> 2007/4/13, Paul Waldo <[hidden email]
> <mailto:[hidden email]>>:
>
>     Hi Gilles,
>
>     Attached is the problematic G1 image.  I'm hoping that whatever
>     you find
>     is also the problem I have been having with digikam 0.9.1.  I had been
>     unable to open RAW images with 0.9.1, but I had always been trying
>     with
>     G1 images, not the Rebel images.  Please let me know if there is
>     anything else I can do to help in tracking down the problem.  Thanks!
>
>     Paul
>
>     Gilles Caulier wrote:
>     > try "display CRW_0043.ppm"... You will se the image.
>     >
>     > Paul, can you send me a picture sample from your camera (in
>     private)
>     > to test here...
>     >
>     > Thanks in advance
>     >
>     > Gilles
>     >
>     > 2007/4/13, Arnd Baecker <[hidden email]
>     <mailto:[hidden email]>
>     > <mailto: [hidden email] <mailto:[hidden email]>>>:
>     >
>     >     Hi Paul,
>     >
>     >
>     >     On Thu, 12 Apr 2007, Paul Waldo wrote:
>     >
>     >     > 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"??
>     >
>     >     man pam (sorry, couldn't resist ;-)
>     >
>     >     pam - portable arbitrary map file format
>     >
>     >     But no help on the main question from my side, best,
>     >
>     >     Arnd
>     >     _______________________________________________
>     >     Digikam-users mailing list
>     >     [hidden email] <mailto:[hidden email]>
>     <mailto: [hidden email] <mailto:[hidden email]>>
>     >     https://mail.kde.org/mailman/listinfo/digikam-users
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>
>     >
>     > _______________________________________________
>     > Digikam-users mailing list
>     > [hidden email] <mailto:[hidden email]>
>     > https://mail.kde.org/mailman/listinfo/digikam-users
>     >
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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