Bug 307357 - Metadata from DNG files generated Lightroom 3 and 4 are not displayed in Image Editor right side-bar tab
Summary: Metadata from DNG files generated Lightroom 3 and 4 are not displayed in Imag...
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Raw (show other bugs)
Version: 4.2.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-25 01:37 UTC by bogdan
Modified: 2017-08-11 14:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.3.0


Attachments
DNG album view - some metadata available (663.97 KB, image/png)
2012-09-25 23:02 UTC, bogdan
Details
DNG image edit mode - no metadata available (165.40 KB, image/jpeg)
2012-09-25 23:05 UTC, bogdan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bogdan 2012-09-25 01:37:13 UTC
- Metadata for DNG files from Lightroom 3 and 4 are not displayed. 
- In preview mode only limited metadata is available for viewing. IPTC metadata is completely empty for DNG while is fully available for JPEG in preview and in Edit mode
- Metadata is available for viewing and editing in LR, which means that it is there.
-It is possible that other types of DNG files have the same issue, but I could not test that.


Reproducible: Always

Steps to Reproduce:
1. Open a DNG in edit mode
2. all metadata is greyed out
3. - 


Expected Results:  
To see metadata: EXIT, IPTC and XMP

Show metadata
Comment 1 caulier.gilles 2012-09-25 07:08:04 UTC
>1. Open a DNG in edit mode

==> In digiKam Image Editor or Metadata kipi plugin ?

Gilles Caulier
Comment 2 bogdan 2012-09-25 23:02:07 UTC
Created attachment 74174 [details]
DNG album view - some metadata available
Comment 3 bogdan 2012-09-25 23:02:50 UTC
It is the Image Editor I was talking about.

However, since you brought it up the Metadata editor is just a little better. It shows something, but it is not complete.  For example the DNG file was geotagged, but the Metadata editor does not show this information. 
On the other hand, in the main album  view  if a picture is selected, that information (GPS) is available in the EXIF section. 

I will attach the two views
Comment 4 bogdan 2012-09-25 23:05:40 UTC
Created attachment 74175 [details]
DNG image edit mode - no metadata available

In this mode all the metadata information is greyed out.
Comment 5 caulier.gilles 2012-09-26 03:47:32 UTC
Do you know panels from right side bar, where metadata, gps, properties, etc... informations are available ?

In editor, you can also display thumbbar with tootips displaying metadata as in icon-view...

Gilles Caulier
Comment 6 caulier.gilles 2012-09-26 04:00:44 UTC
A screenshot of metadata panels visible...

http://www.flickr.com/photos/digikam/8025492511/sizes/o/in/photostream/

Gilles Caulier
Comment 7 Marcel Wiesweg 2012-09-26 10:32:51 UTC
The best idea will be to provide us a test image which shows the described problems for you. Maybe you can scale down an image in lightroom to 1x1 px and add the metadata that you describe, then attach it here.
Comment 8 bogdan 2012-09-26 15:21:42 UTC
(In reply to comment #6)
> http://www.flickr.com/photos/digikam/8025492511/sizes/o/in/photostream/

Gilles,

there are 2 things different here:
Comment 9 bogdan 2012-09-26 15:49:50 UTC
(In reply to comment #7)
> problems for you. Maybe you can scale down an image in lightroom to 1x1 px

Marcel, 

 A DNG is like a RAW file. It cannot be resized. if you need a LR DNG I can setup a ftp site :
Please do 
 ftp hlevca.com  as anonymous.  it is the only file there. 
Please let me know when you are done so I will disable the service  

On another note:
 in showfoto the metadata is visible in edit mode.  It must just be a quirk in the way digikam handles Image Edit mode for LR DNG files.

Bogdan
Comment 10 bogdan 2012-09-26 16:00:09 UTC
One nice thing is that digikam gets right the star settings from LR/generic DNG. So there is something reading the metadata, but the display gets truncated in one view and is completely greyed out in Edit mode.
Comment 11 Marcel Wiesweg 2012-09-26 20:58:13 UTC
There are two issues here, metadata access from the file and a UI problem. For the first, I resort to the exiv2 command line tool to rule out any secondary influence.

1) Neither exiv2 nor exiftool show IPTC metadata in a file. Which usually means there is none. exiftool shows some makernotes which exiv2 (and thus digikam) does apparently not support.

2) I cannot reproduce the problem with the image editor metadata panel here in a short test
Comment 12 bogdan 2012-09-26 22:30:35 UTC
I added another file on my ftp server and removed the old one. The new one has GPS data and it is shown it the normal album view in digikam, but in the Image Editor view nothing is shown ( greyed-out, the initial 2 attached print screens show this issue).

An exiv2 test shows the information below. You can notice that exiv2 has some problems reading Sony2 directory, which contains a lot of information. I wonder how can tat be read in other tools than LR. DNG is supposed to be an open format, but allows (if I remember well) some proprietary data?

I am surprised that you cannot reproduce the Image Editor greyed out issue. What could be different on my system? 

exiv2 BHLEVCA_20110728_0911.dng
Error: Directory Sony2 with 25665 entries considered invalid; not read.
File name       : BHLEVCA_20110728_0911.dng
File size       : 20619768 Bytes
MIME type       : image/tiff
Image size      : 6080 x 4048
Camera make     : SONY
Camera model    : DSLR-A900
Image timestamp : 2011:07:28 16:49:56
Image number    : 
Exposure time   : 1/250 s
Aperture        : F2.8
Exposure bias   : -1 EV
Flash           : No, compulsory
Flash bias      : 
Focal length    : 200.0 mm (35 mm equivalent: 200.0 mm)
Subject distance: 
ISO speed       : 400
Exposure mode   : Auto
Metering mode   : Center weighted average
Macro mode      : 
Image quality   : 
Exif Resolution : 6080 x 4048
White balance   : Auto
Thumbnail       : None
Copyright       : Bogdan Hlevca (2011)
Exif comment    :
Comment 13 Marcel Wiesweg 2012-09-27 09:20:57 UTC

> An exiv2 test shows the information below. You can notice that exiv2 has
> some problems reading Sony2 directory, which contains a lot of information.
> I wonder how can tat be read in other tools than LR. DNG is supposed to be
> an open format, but allows (if I remember well) some proprietary data?

All Makernotes are proprietary, unfortunately. With unpublished specification. All support depends on reverse engineering.

> I am surprised that you cannot reproduce the Image Editor greyed out issue.
> What could be different on my system? 

Not sure. I still cannot reproduce. Anyone else?
Comment 14 caulier.gilles 2012-09-27 12:06:41 UTC
Marcel,

>> I am surprised that you cannot reproduce the Image Editor greyed out issue.
>> What could be different on my system? 

>Not sure. I still cannot reproduce. Anyone else?

I cannot reproduce it here too...

Gilles
Comment 15 caulier.gilles 2014-08-28 16:19:03 UTC
Bogdan,

This file still valid using last digiKam 4.2.0 and Exiv2 0.24 ?

Gilles Caulier
Comment 16 bogdan 2014-08-28 17:56:43 UTC
(In reply to Gilles Caulier from comment #15)

Unfortunately the problems still exist. The normal mode show the metadata in the DNG file, while in Edit mode everything is greyed out
Comment 17 caulier.gilles 2014-09-04 08:49:20 UTC
Bogdan,

Can yo share some DNG files where problem occurs.

Gilles Caulier
Comment 18 bogdan 2014-09-04 13:00:25 UTC
Gilles,

This bug system does not allow creating attachments that big. I am sharing two links with you on google drive. One of them should work. If you are finished with it please let me know so I can remove it because the share is public and anyone can access it 

https://drive.google.com/file/d/0B5r7QXFf0ZlaZHljVFZVTVpxNTQ/edit?usp=sharing

https://drive.google.com/a/hlevca.com/file/d/0B5r7QXFf0ZlaZHljVFZVTVpxNTQ/edit?usp=sharing_eil

 I still  can't understand why the Image Editor can't display metadata while in View mode everything is there.
Comment 19 caulier.gilles 2014-09-04 13:16:26 UTC
Bogdan,

DNG file downloaded...

Problem is not reproducible into current implementation from git/master, as you can see in this screenshot :

https://www.flickr.com/photos/digikam/14950901699/sizes/o/

In image Editor, all metadata are filled with relevant Exif, IPTC, and XMP into.

Perhaps there is a garbage in digiKam configuration file.
I recommend to rename this file from your home directory : 

~/.kde4/share/config/digikam.rc 
to 
~/.kde4/share/config/digikam.rc.old

This will reset all settings. Restart digiKam and check again.

Gilles Caulier
Comment 20 bogdan 2014-09-04 13:59:46 UTC
Gilles,

The screen shot you shared does not show a Image Editor capture but rather the view mode. As I said in normal viewer I see metadata too. Can you post one with a capture of the Image editor of the DNG I shared with you?
Comment 21 caulier.gilles 2014-09-04 15:13:10 UTC
Bogdan,

Look well. Image Editor is on the right side of my screenshot (:=)))...

Gilles Caulier
Comment 22 bogdan 2014-09-04 16:00:36 UTC
Oh, I can see it now
Comment 23 caulier.gilles 2014-09-04 16:03:00 UTC
Bogdan,

Did you try my recommendation in comment #19 about digiKam config file ?

Gilles Caulier