Bug 340595

Summary: Convertion Sony A7 raw file turns to red the result
Product: digikam Reporter: Leo <sir_kalot>
Component: Plugin-DImg-RAWAssignee: Digikam Developers <digikam-bugs-null>
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 4.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://drive.google.com/file/d/0BxrEeePgFqRgUGZLeVFzTENwbmM/view?usp=sharing
Latest Commit: Version Fixed In: 7.0.0

Description Leo 2014-11-03 10:07:46 UTC
Converting raw files to jpg turns the result to a red layered image.
Rawtherapee or Gwenview (e.g.) are not affected.

Reproducible: Always

Steps to Reproduce:
1. convert files from raw to jpeg

Actual Results:  
the jpeg files are red filtered

Expected Results:  
a good image
Comment 1 caulier.gilles 2014-11-03 10:22:24 UTC
Raw files are processed in digiKam using libraw (http://www.libraw.org)

Sound like this problem is relevant of Libraw, not in digiKam.

Can you share a A7 RAW files to test.

Gilles Caulier
Comment 2 caulier.gilles 2014-11-03 13:38:16 UTC
Important : Sony A7 is only supported with last libraw 0.16.0.

Which libraw you use exactly ? Look into Help/Components Info dialog for details.

Gilles Caulier
Comment 3 Leo 2014-11-03 17:28:24 UTC
The raw (*.ARW) file is in the zip file you can find here https://drive.google.com/file/d/0BxrEeePgFqRgUGZLeVFzTENwbmM/view?usp=sharing

Here are the data you requested

digiKam version 4.2.0
CPU cores: 8
Codec PGF in parallelo: No
Demosaic GPL2 pack support: Sconosciuto
Demosaic GPL3 pack support: Sconosciuto
Demosaicizzazione parallela: Sconosciuto
Exiv2 può scrivere Jp2: Sì
Exiv2 può scrivere Jpeg: Sì
Exiv2 può scrivere Pgf: Sì
Exiv2 può scrivere Png: Sì
Exiv2 può scrivere Tiff: Sì
Exiv2 supporta i dati aggiuntivi XMP: Sì
LibCImg: 130
LibEigen: 3.2.1
LibExiv2: 0.23
LibJPEG: 80
LibJasper: 1.900.1
LibKDE: 4.14.2
LibKExiv2: 2.3.2
LibKGeoMap: 2.0.0
LibKdcraw: 2.4.2
LibLCMS: 2060
LibLensFun: 0.2.8-0
LibPGF: 6.12.24 - Librerie condivisa esterna
LibPNG: 1.2.51
LibQt: 4.8.6
LibRaw: 0.15.4
LibTIFF: LIBTIFF, Version 4.0.3 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
RawSpeed codec support: Sconosciuto
Widget Marble: 0.18.21 (0.19 Alpha)
Interfaccia della banca dati: QSQLITE
Kipi-Plugins: 4.2.0
LibGphoto2: 2.5.4
LibKface: 3.4.0
LibKipi: 2.1.0
LibOpenCV: 2.4.9
Comment 4 Leo 2014-11-03 17:38:54 UTC
It seems that libkdcraw23 still requires the libraw9 (>=15.1) instead of the 16 version.
Comment 5 caulier.gilles 2014-11-03 17:55:21 UTC
yes, but to decode A7 raw file you need  libraw 0.16.0

This is why it doesn't work on your computer. All work fine on mine.

So ask to your distro team to update libkdcraw with libraw 0.16

Gilles Caulier
Comment 6 caulier.gilles 2019-12-23 17:17:01 UTC
Not reproducible with digiKam 7.0.0-beta1.