Summary: | DNG Converter and DigiKam crashes when opening a .dng file | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | tesfabpel |
Component: | Plugin-DImg-RAW | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, cristina.schiwek, lexa |
Priority: | NOR | ||
Version: | 2.8.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 3.2.0 | |
Attachments: |
"Incriminated" dng file (contained in a zip archive)
Converted dng with dcraw command and then exported as JPG |
Description
tesfabpel
2013-02-13 23:05:39 UTC
It crash in libraw. Which version you use ? Go to Help button of the tool and About dialog for info. Can you share DNG file to try to reproduce the problem ? Gilles Caulier Created attachment 77287 [details]
"Incriminated" dng file (contained in a zip archive)
Downloaded from the Internet (to play with RAW import settings) because I don't have a camera that saves to RAW... :-(
Anyway there is a bug in the program, otherwise it would not crash (either it should report that the file is damaged or it should open it)...
Thanks. I suspect a bug in libraw. I CC libraw author for info... Gilles Caulier Tried the sample file you provide with LibRaw 0.14.7 (latest stable) and LibRaw 0.15-Beta3 (latest beta) Both versions precesses the file without crashes and/or other problems. What LibRaw version do you use? Crash is not reproducible under digiKam and DNG converter using LibRaw 0.15.0-beta3, published with KDE 4.10.0 Gilles Caulier It should be libkdcraw4:4.9.2-0ubuntu1 /usr/lib/libkdcraw.so.21 since I don't have the libraw package installed and digikam depends on libkdcraw I forgot to say that I've installed digikam on Xubuntu 12.10 AMD64. libraw is included in libkdcraw. Go to digiKam "Help/Components Info" dialog for details Gilles Caulier Created attachment 77289 [details]
Converted dng with dcraw command and then exported as JPG
I've tried using the dcraw command and it produces this output...
As you can see the result is not really perfect... :P
But at least it doesn't crash...
The result is the same with another RAW dng file from the same website, it has a black rectangle at the bottom and those "chopped regions" in the upper part of the image... (raw88.dng)
$ dcraw -v raw87.dng
Loading NIKON D4 image from raw87.dng ...
Scaling with darkness 0, saturation 15520, and
multipliers 2.426840 1.000000 1.240374 1.000000
AHD interpolation...
Converting to sRGB colorspace...
Writing data to raw87.ppm ...
digiKam version 2.8.0 Exiv2 can write to Jp2: Yes Exiv2 can write to Jpeg: Yes Exiv2 can write to Pgf: Yes Exiv2 can write to Png: Yes Exiv2 can write to Tiff: Yes Exiv2 supports XMP metadata: Yes LibCImg: 130 LibClapack: internal library LibExiv2: 0.23 LibJPEG: 80 LibJasper: 1.900.1 LibKDE: 4.9.4 LibKExiv2: 2.3.0 LibKGeoMap: 2.0.0 LibKdcraw: 2.1.0 LibLCMS: 119 LibLensFun: external shared library LibLqr: internal library LibPGF: 6.12.27 - internal library LibPNG: 1.2.49 LibQt: 4.8.3 LibRaw: 0.14.6 LibTIFF: LIBTIFF, Version 4.0.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. Marble Widget: 0.14.0 (stable release) Parallelized PGF codec: No Parallelized demosaicing: Yes Database backend: QSQLITE LibGphoto2: 2.4.14 LibKface: 2.0.0 LibKipi: 1.6.0 LibOpenCV: 2.3.1 Libface: 0.2 *** Bug 315544 has been marked as a duplicate of this bug. *** Now it works with DigiKam 3... |