[Kde-imaging] [Bug 240750] New: DNGConverter produces black files (Canon 5D mkII)

krzysztof pijarski kpijarski at aim.com
Fri Jun 4 18:51:28 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=240750

           Summary: DNGConverter produces black files (Canon 5D mkII)
           Product: kipiplugins
           Version: 1.3.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: DngConverter
        AssignedTo: kde-imaging at kde.org
        ReportedBy: kpijarski at aim.com


Version:           1.3.0 (using KDE 4.4.2) 
OS:                Linux

I just decided to try the DNGConverter again, having read the whitebalance
problems have been solved, and stumbled upon a problem analogous to solved Bug
#217897 (on opening the given file, Eog reports: "Failed to load TIFF image:
LensInfo: Rational with zero denominator (num = 0)"). 
The DNGConverter finishes without any error, but the resulting dng file is all
black (tested in digikam, showfoto, rawtherapee, ufraw, rawstudio).
Showfoto doesn't seem to report any errors:
showfoto(31918)/digikam (core) Digikam::DImg::load:
"/home/kris/ZDJECIA/USA/test - ts-e 24/_MG_2749.dng"  : RAW file identified
showfoto(31918)/KDCRAW KDcrawIface::KDcraw::loadFromLibraw: LibRaw: dcraw
emulation:  ("-H 0", "-w", "-q 0", "-o 1", "/home/kris/ZDJECIA/USA/test - ts-e
24/_MG_2749.dng")
showfoto(31918)/KDCRAW KDcrawIface::KDcraw::loadFromLibraw: LibRaw highlights
adjustements :  false
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Reading metadata  pass  0  of  2
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Reading metadata  pass  1  of  2
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Reading RAW data  pass  0  of  2
showfoto(31918)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Preview data
size: 19293
showfoto(31918)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Using embedded
RAW preview extraction
showfoto(31918)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation =>
Exif.Image.Orientation =>  1
showfoto(31918)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Using embedded
RAW preview extraction
showfoto(31918)/digikam (core) Digikam::DMetadata::getIccProfile: Exif
color-space tag is sRGB. Using default sRGB ICC profile.
showfoto(31918)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation =>
Exif.Image.Orientation =>  1
showfoto(31918)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Preview data
size: 1904828
showfoto(31918)/KDCRAW KDcrawIface::KDcraw::loadEmbeddedPreview: Using embedded
RAW preview extraction
showfoto(31918)/digikam (core) Digikam::DMetadata::getIccProfile: Exif
color-space tag is sRGB. Using default sRGB ICC profile.
showfoto(31918)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation =>
Exif.Image.Orientation =>  1
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Reading RAW data  pass  1  of  2
showfoto(31918)/KDCRAW KDcrawIface::KDcraw::loadFromLibraw: Disabling LibRaw
highlights adjustements
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Scaling colors  pass  0  of  2
Scaling with darkness 0, saturation 15600, and
multipliers 2.111326 1.000000 1.848634 1.000000
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Scaling colors  pass  1  of  2
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Pre-interpolating  pass  0  of  2
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Pre-interpolating  pass  1  of  2
Bilinear interpolation...
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Interpolating  pass  0  of  3
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Interpolating  pass  1  of  3
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Interpolating  pass  2  of  3
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Converting to RGB  pass  0  of  2
Converting to sRGB colorspace...
showfoto(31918)/KDCRAW KDcrawIface::KDcrawPriv::progressCallback: LibRaw
progress:  Converting to RGB  pass  1  of  2
showfoto(31918)/KDCRAW KDcrawIface::KDcraw::loadFromLibraw: LibRaw: data info:
width= 5634  height= 3753  rgbmax= 255
showfoto(31918)/digikam (core)
Digikam::IccSettingsPriv::profileFromWindowSystem: Found X.org XICC monitor
profile "mojekran100128-fast"
showfoto(31918)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime =>
Exif.Photo.DateTimeOriginal =>  QDateTime("Sat May 29 21:29:31 2010")

One more thing: the converted file seems strangely small. The CR2 is 26.5 mb,
the uncompressed dng - 42.2, and the compressed dng - 3.5 mb. Is that possible
at all with lossless compression?

I made the files available for download:
http://dl.dropbox.com/u/544347/test%20-%20ts-e%2024.zip

I build digikam & kipi from svn.

Thanks!

Krzysztof


Reproducible: Always

Steps to Reproduce:
Convert a Canon 5D mkII file with DNGConverter (compressed or uncompressed). My
Canon 20D files convert beautifully.

Actual Results:  
The 5D mkII file is all black.

Expected Results:  
Produce an image identical with the CR2 digital negative

-Computer-
Processor        : 2x Intel(R) Core(TM)2 Duo CPU     P8700  @ 2.53GHz
Memory        : 3775MB (2033MB used)
Operating System        : Ubuntu 10.04 LTS
Date/Time        : Fri 04 Jun 2010 12:46:29 PM EDT
-Display-
Resolution        : 1280x800 pixels
OpenGL Renderer        : GeForce 9400M/PCI/SSE2
X11 Vendor        : The X.Org Foundation
-Multimedia-
Audio Adapter        : HDA-Intel - HDA NVidia

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-imaging mailing list