https://bugs.kde.org/show_bug.cgi?id=418645
--- Comment #15 from Martin Althoff <martin.alth...@mail.de> --- Hi Gilles, > > Rawtherapee has no issues whatsoever with my DNG files (about 2700). They > > claim to use dcraw as raw reader. They even >more suggest going to DNG via > > Adobe DNG converter > > (https://rawpedia.rawtherapee.com/How_to_convert_raw_formats_to_DNG) > > In this case we need to use a the closed source RAW to DNG converter. Not he > best way... > And RawTherapee use also a dedicated Raw engine. I agree, closed source is not a good way to go. I have since installed the beta3 via a git clone... and my own build. In parallel I have tried with the appimage of beta3. Both still give me purple images. I had a look into the source code, it gives me some idea, but I have to admit, it is a bit beyond me to hunt for the bug in the the possible places you suggest. My coding ability a too "rusty" Is there any other way that I can support debugging? Trying out whatever, testing this or that? Martin > There are 3 possible bugs : > > 1/ In libraw. After all the Raw mosaic extraction is done with this lib. For > the DNG converter, there is no demosaicing stage. The RAw matrix is taken as > well as a bytearray and passed to the Adobe SDK for encoding. > > Note : libraw is also used to extract the color matrix of the RAW data, which > is different than all format. I remember that lead libraw author report me > that > this matrix was deducted by reverse engineering using... Adobe DNG converter > (:=))). It's and old talk by mail, and it's difficult to get the right words > to > explain. > > So perhaps the colors matrix need to be updated in libraw, simply... > > 2/ The DNG converter code as well. The way to play with Adobe SDK API is > complex and of course code can be bugous. > > If you is curious code is in gitlab : > > https://invent.kde.org/kde/digikam/-/blob/master/core/libs/dngwriter/dngwriter_convert.cpp > > ... and search 'fuji" string to see all specificity to handle colors matrix > and > rotation of raw data. > > 3/ The Adobe DNG sdk is too old. Code was not updated since 2012, and Adobe > has > released 2 new versions since this date. > I created few weeks ago a new devel branch in git and updated the DNG sdk to > last version, applied fix to compile and tried to use : it crash quickly. So > investiguations are required.... > > Gilles Caulier > -- You are receiving this mail because: You are watching all bug changes.