Project

General

Profile

Camera Support #11210

Doesn't find white balance for Canon Powershot A720 CHDK DNGs

Added by Chris Chiappa over 3 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
10/09/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0.6

Description

I'm not sure if this is a bug in CHDK, darktable's handling of DNGs or just a bad entry in the darktable database. I have an old Canon Powershot A720 with CHDK installed. darktable should know about the white balance presets for this camera, but it doesn't find it. I noticed somewhere in the UI (unfortunately, I can't find it right now) that darktable was referring to the camera as a "Canon Canon PowerShot A720." If I edit wb_presets.c to include Canon in the model string as per the attached dif, everything works fine and darktable finds the white balance presets. But, this doesn't seem right since no other entries in wb_presets include the manufacturer in the model name. I do notice that the exif tags seem a bit different in the DNG vs the JPG:
$ exiv2 -p a A720-JPG/IMG_0615.JPG | grep Power
Exif.Image.Model Ascii 24 Canon PowerShot A720 IS
Exif.Canon.ImageType Ascii 27 IMG:PowerShot A720 IS JPEG
Exif.Canon.ModelID Long 1 PowerShot A720 IS
$ exiv2 -p a CRW_0643.DNG | grep Power
Exif.Image.Model Ascii 24 Canon PowerShot A720 IS
Exif.Image.UniqueCameraModel Ascii 24 Canon PowerShot A720 IS

So, this could be a bug with CHDK, but maybe it suggests some looser matching as well? I'm not sure what the standard would be here.

wb_presets_a720.c.dif (1.61 KB) wb_presets_a720.c.dif Chris Chiappa, 10/09/2016 11:47 PM
CRW_0645.DNG (9.9 MB) CRW_0645.DNG Chris Chiappa, 10/10/2016 02:48 AM

Associated revisions

Revision ee8f11e1 (diff)
Added by Roman Lebedev over 3 years ago

Rawspeed: cameras.xml: add Canon PowerShot A720 IS mode="dng". Fixes #11210

Damn name de-mangling :(

Revision 5fe828b4 (diff)
Added by Roman Lebedev over 3 years ago

Rawspeed: cameras.xml: add Canon PowerShot A720 IS mode="dng". Fixes #11210

Damn name de-mangling :(

(cherry picked from commit ee8f11e1b898e3f833c414712cd78eb48c335358)

History

#1 Updated by Roman Lebedev over 3 years ago

  • % Done changed from 0 to 20
  • Status changed from New to Incomplete

Does that camera natively produce DNG?
If not, does that happen with the original raw file too?
If yes, do attach the samples (the original raw file, and maybe DNG).

#2 Updated by Chris Chiappa over 3 years ago

Natively, the camera produces only JPG. CHDK ( http://chdk.wikia.com/ ) is an unofficial firmware which adds DNG output. Here's a DNG, but if this is not an interesting case, please feel free to close the bug.

#3 Updated by Roman Lebedev over 3 years ago

Chris Chiappa wrote:

Natively, the camera produces only JPG. CHDK ( http://chdk.wikia.com/ ) is an unofficial firmware which adds DNG output. Here's a DNG, but if this is not an interesting case, please feel free to close the bug.

Hm, so it finally writes proper DNG?
Good to know, i guess.

#4 Updated by Roman Lebedev over 3 years ago

  • % Done changed from 20 to 100
  • Status changed from Incomplete to Fixed

#5 Updated by Roman Lebedev over 3 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF

Go to top