Project

General

Profile

Feature #826

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

Added by Guillaume Chauvat over 9 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
makernote
Target version:
Start date:
18 May 2012
Due date:
% Done:

10%

Estimated time:

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.


Files

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

History

#1

Updated by Andreas Huggel over 9 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 about 6 years ago

  • Target version set to 53
#3

Updated by Alan Pater about 6 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 over 5 years 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 over 5 years 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.28

Also available in: Atom PDF