Bug 217897 - DNGconverter produces invalid DNG files
Summary: DNGconverter produces invalid DNG files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-DngConverter (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-08 18:43 UTC by Hamish Downer
Modified: 2016-07-15 12:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hamish Downer 2009-12-08 18:43:19 UTC
Version:            (using KDE 4.3.2)
Compiler:          gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1 
OS:                Linux
Installed from:    Ubuntu Packages

When I use DNG converter it produces DNG files which are not valid. The camera is a Canon EOS 300D producing .CRW format files. When I run DNGconverter from the command line no errors are reported. Using file it seems to be OK:

$ file CRW_4212.dng
CRW_4212.dng: TIFF image data, little-endian

but when I try to view it in Eye of Gnome (eog) I get the error message:

Could not load image 'CRW_4212.dng'.
Failed to load TIFF image: ColorMatrix1: Rational with zero denominator (num = 0)

I'm attaching a sample image in CRW format, and the resulting DNG file.

DNGconverter worked fine for me in Jaunty (which was also 64 bit). 

The karmic version of kipi-plugins is 0.7.0

ProblemType: Bug
Architecture: amd64
Date: Mon Dec 7 22:34:59 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: digikam 2:1.0.0~beta5-1ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: digikam
Uname: Linux 2.6.31-15-generic x86_64
Comment 1 Hamish Downer 2009-12-08 18:58:09 UTC
A sample image (both the CRW and DNG versions) is attached to the launchpad version of the bug - https://bugs.launchpad.net/ubuntu/+source/digikam/+bug/493804

The DNG file is at http://launchpadlibrarian.net/36551033/CRW_4212.dng

The CRW file is at http://launchpadlibrarian.net/36551245/CRW_4212.CRW
Comment 2 caulier.gilles 2009-12-09 11:40:45 UTC
I fixed some stuff in this plugin. Please test with kipi-plugins 0.9.0

Gilles Caulier
Comment 3 Hamish Downer 2009-12-10 16:20:30 UTC
I'm happy to report that the problem has been solved by kipi-plugins 0.9.0 - the DNG files are properly generated.