The thumbnails of the CR2 files from Canon PowerShot G1 X have the wrong colours. The colours are appear orange/yellow and blue. Other RAW files e.g. Canon 5D Mark II/III display correctly. Also opening the file to view with another program e.g. gqview will show the correct colours in gqview. Reproducible: Always Steps to Reproduce: Open thumbnail viewer. Actual Results: Thumbnail colours always appear incorrect for these files. Expected Results: Normal correct colours.
Sorry for the late response. KPhotoalbum uses libkdcraw for dealing with raw files. Do the thumbnails also appear incorrectly in e.g. gwenview or any other libkdcraw-based program? When you display the image, are the colours displayed correctly, or are they messed up like in the thumbnail view?
The colours are incorrect in kdephotoalbum both in normal and thumbnail size. gqview shows the correct colours. I installed gwenview but it is unable to open this file and reports being unable to open a file of this type. I will attach a sample CR2 file that I took with the Canon PowerShot G1 X. (In reply to comment #1) > Sorry for the late response. > > KPhotoalbum uses libkdcraw for dealing with raw files. Do the thumbnails > also appear incorrectly in e.g. gwenview or any other libkdcraw-based > program? > > When you display the image, are the colours displayed correctly, or are they > messed up like in the thumbnail view?
(In reply to comment #2) > I will attach a sample CR2 file that I took with the Canon PowerShot G1 X. OK, it will not let me paste the image as it is too large. It is here instead... http://www.kitamura-studios.com/tmp/IMG_0451.CR2
Created attachment 80267 [details] Jpeg-conversion of the raw .cr2 file Is this (approximately) the correct color rendition of the raw file? On my system (debian unstable), the image is rendered consistently in kphotoalbum, showfoto, gimp, imageMagick and rawtherapee. Unfortunately I currently cannot install geeqie/gqview on my system to check the result. Since the image is rendered the same by both kphotoalbum and showfoto, I suspect the issue lies with libkdcraw. Which version of libkdcraw are you using?
No, the colours in the image rendition are incorrect (and the same as what I get on kdephotoalbum). gimp also does a bad job with the colours. I will attach a jpg version of the correctly rendered colours. (using darktable). $ dpkg -l | grep libkdcraw ii libkdcraw-data 4:4.8.4-1 all RAW picture decoding library -- data files ii libkdcraw20 4:4.8.4-1 amd64 RAW picture decoding library (In reply to comment #4) > Created attachment 80267 [details] > Jpeg-conversion of the raw .cr2 file > > Is this (approximately) the correct color rendition of the raw file? > > On my system (debian unstable), the image is rendered consistently in > kphotoalbum, showfoto, gimp, imageMagick and rawtherapee. Unfortunately I > currently cannot install geeqie/gqview on my system to check the result. > > Since the image is rendered the same by both kphotoalbum and showfoto, I > suspect the issue lies with libkdcraw. Which version of libkdcraw are you > using?
Created attachment 80272 [details] jpg version of the cr2 file with colours rendered correctly
Thank you for the info and for the reference image. I'm reassigning this bug to digikam/libkdcraw so it can be fixed for all other programs as well...
Which libkdcraw version do you use exactly ? In libkdcraw, there is an embeded version of libraw. Which version is used. libraw have been updated to last 0.15.2 recently in libkdcraw. Can you update and try again ? Gilles Caulier
I am running debian and these are the latest versions in both testing and unstable. $ dpkg -l | grep libraw ii libraw5:amd64 0.14.7-2 amd64 raw image decoder library $ dpkg -l | grep libkdcraw ii libkdcraw-data 4:4.8.4-1 all RAW picture decoding library -- data files ii libkdcraw20 4:4.8.4-1 amd64 RAW picture decoding library I have uploaded a Canon PowerShot G1 X raw file here: http://www.kitamura-studios.com/tmp/IMG_0451.CR2
What's news about this file using a more recent libkdcraw/libraw. Problem still reproducible ? Gilles Caulier
I am running debian testing, and yes the problem is still there on the thumbnails. $ dpkg -l | grep libraw | grep ii ii libraw9:amd64 0.15.4-1 amd64 raw image decoder library kie@lime:~ $ dpkg -l | grep libkdcraw | grep ii ii libkdcraw-data 4:4.11.3-1 all RAW picture decoding library -- data files ii libkdcraw22 4:4.11.3-1 amd64 RAW picture decoding library
Tried regenerating the thumbnails with the current library and they display correctly now. Sorry I didn't do that at the time of my last email, I didn't think of it. I have marked the problem as resolved. Thanks for all your help and bug fixing.
Not reproducible with digiKam 7.0.0-beta1.