Feature #826

On export of dng to jpeg, convert makernote tags from PentaxDng to Pentax

Added by Guillaume Chauvat about 5 years ago. Updated about 1 year ago.

Status:NewStart date:18 May 2012
Priority:NormalDue date:
Assignee:-% Done:

10%

Category:makernote
Target version:0.27

Description

Using darktable to export raw (DNG) pictures to JPEG, the tag Exif.Photo.FocalLength is not exported to the JPEG file. Darktable is compiled with the revision 2744 of Exiv2.

The pictures were shot with a Pentax K-x. An example DNG file is attached.

IMGP9992.DNG - DNG image (11 MB) Guillaume Chauvat, 18 May 2012 08:48

History

#1 Updated by Andreas Huggel about 5 years ago

I can't reproduce this with the exiv2 tool alone, the tag is exported just fine. Can you provide a reproducer for this issue, based on what Darktable actually does?

$ exiv2 -pa IMGP9992.DNG | grep Focal
Exif.Photo.FocalLength                       Rational    1  28.1 mm
Exif.Photo.FocalLengthIn35mmFilm             Short       1  42.0 mm
Exif.PentaxDng.FocalLength                   Long        1  28.1 mm
$ cp ../test/data/exiv2-empty.jpg ./IMGP9992.jpg
$ exiv2 -v insert -S.DNG IMGP9992.jpg 
File 1/1: IMGP9992.jpg
Writing Exif data from ./IMGP9992.DNG to IMGP9992.jpg
$ ./exiv2 -pa IMGP9992.jpg | grep Focal
Exif.Photo.FocalLength                       Rational    1  28.1 mm
Exif.Photo.FocalLengthIn35mmFilm             Short       1  42.0 mm
Exif.PentaxDng.FocalLength                   Long        1  28.1 mm

This test case exposes another issue though: In the JPEG, the group of the makernote tags should be Pentax, not PentaxDng.

Andreas

#2 Updated by Robin Mills almost 2 years ago

  • Target version set to 53

#3 Updated by Alan Pater almost 2 years ago

  • Subject changed from Exif.Photo.FocalLength not exported from DNG to JPEG to Exif.Pentax.* not converted from DNG to JPEG
  • Category set to makernote
  • Target version changed from 53 to 0.26
  • % Done changed from 0 to 10

Using darktable 1.6.8 with exiv2 0.25 the FocalLength tags are exported to jpeg.

$ exiv2 -g Focal IMGP9992.jpg 
Exif.Photo.FocalLength                       Rational    1  28.1 mm
Exif.Photo.FocalLengthIn35mmFilm             Short       1  42.0 mm
Exif.PentaxDng.FocalLength                   Long        1  28.1 mm

Issue of not converting to exif.Pentax.* remains.

#4 Updated by Alan Pater about 1 year ago

  • Subject changed from Exif.Pentax.* not converted from DNG to JPEG to makernote tags should be Pentax, not PentaxDng

#5 Updated by Alan Pater about 1 year ago

  • Tracker changed from Bug to Feature
  • Subject changed from makernote tags should be Pentax, not PentaxDng to On export of dng to jpeg, convert makernote tags from PentaxDng to Pentax
  • Target version changed from 0.26 to 0.27

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux