Describe the bug
A DNG file converted frrom a CR3 file via Adobe DNG Converteer, Dual Pixel Raw) is not being opened in darktable. Rawspeed issue 214 indicates that this is possibly an error from darktable. Thumbnail of the Dng file is not being generated. While opening the file darktable is running into a deadlock.
Error:
void rawspeed::AbstractDngDecompressor::decompress() const, line 208: Too many errors encountered. Giving up. First Error:
rawspeed::LJpegDecompressor::LJpegDecompressor(const rawspeed::ByteStream&, const rawspeed::RawImage&), line 42: Unexpected component count (2)
allocation failed???
Issue 214 rawspeed:
While it is easy to convince rawspeed to load it
diff --git a/src/librawspeed/decompressors/LJpegDecompressor.cpp b/src/librawspeed/decompressors/LJpegDecompressor.cpp
index f5d6d86c..64b2fb2b 100644
--- a/src/librawspeed/decompressors/LJpegDecompressor.cpp
+++ b/src/librawspeed/decompressors/LJpegDecompressor.cpp
@@ -39,6 +39,7 @@ LJpegDecompressor::LJpegDecompressor(const ByteStream& bs, const RawImage& img)
ThrowRDE("Unexpected data type (%u)", mRaw->getDataType());
if (!((mRaw->getCpp() == 1 && mRaw->getBpp() == 2) ||
Expected behavior
Darktable will show thumbnail in lighttable. Darktable will open DNG file
Screenshots
Platform (please complete the following information):