Bug 405860 - Display EV correction in overview
Summary: Display EV correction in overview
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Exif (show other bugs)
Version: 5.6.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-25 17:18 UTC by Christian Gruber
Modified: 2023-05-12 14:13 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Gruber 2019-03-25 17:18:38 UTC
In the EXIF overview, when you hover with the mouse pointer over a picture, all kind of data is shown, like aperture, exposure time, ISO etc. It would be nice if the exposure correction was also shown.
Comment 1 Maik Qualmann 2019-03-26 07:10:35 UTC
The exposure correction is currently not stored in the database. In addition to a database update, this would require a lot of new program code.

Maik
Comment 2 Christian Gruber 2019-03-26 14:38:52 UTC
This information is stored in the EXIF information of the picture, and can be displayed e.g. in gwenview. I think this is a very useful information that can be very handy.
In  Panasonic DMC-FZ1000 it is stored in "Exposure Compensation".
Comment 3 Christian Gruber 2019-03-26 14:39:55 UTC
Why is it hard coded anyway?
Comment 4 caulier.gilles 2019-03-26 14:42:20 UTC
Extracting this information from file is very easy with digiKam core implementation. This is not the problem.

All elementary information shown in file properties view are stored also in the database. Why ? To perform quick search with this kind of element. This is the goal of photo DAM.

If we add a new property to show, we need also to store it in DB to be homogeneous. We cannot only show the value as well.

Gilles Caulier
Comment 5 Christian Gruber 2019-03-26 15:02:08 UTC
It would be much more flexible and easier for the developer if the EXIF information was stored as key-value-pair and not as a dedicated row in the database
Comment 6 Maik Qualmann 2019-03-27 07:00:27 UTC
It's not about somehow saving the EXIF metadata in a BLOB field. It must also be possible to associate this data with SQL queries by e.g. to include all images with a focal length of > 100mm and an exposure compensation of -1.5 for a search request.

Maik
Comment 7 Christian Gruber 2019-03-27 11:50:40 UTC
I did not mean to store all the EXIF data in a BLOB without structure, but to make a table "exif" or something like that, with key and value as columns and a foreign key to the picture file. This way it would be extensible (additional keys would be stored automatically) and you can query it for a key having a certain value or a range of values, even with an index.
Comment 8 Maik Qualmann 2019-03-27 12:34:09 UTC
That too would be possible, but it would be a major change. Alternatively, you can see the exposure correction from the selected image in the right metadata side bar. It is also possible to use a filter that only displays the metadata of interest to quickly find the exposure correction.

Maik
Comment 9 Christian Gruber 2019-03-27 19:32:23 UTC
When it is not planned to keep the same database scheme like it was in the design phase and let it evolve, I think that a good time to do this is a change in the major version number (for example 5 to 6). I do not think that this is the only possible place that you thought "If only the database schema was different!", so that would be a good opportunity to do so.
Is the database schema version somehow persisted, so that the correct migration script can be selected?
Comment 10 Christian Gruber 2019-04-01 14:02:21 UTC
How can be the name of the used EXIF fields be determined? I do not know what I did exactly, but all the displayed EXIF information vanished. I then decided to put the interesting fields back one after the other, and some fields are "nicht verfügbar" (probably in English it says "not available"). This applies e.g. to "Bildinformatione/Aperture Value", "Fotoinformationen/Aperture" and "Fotoinformationen/ISO Speed". "Fotoinformationen/Exposure Time" is available. After that, I gave up.
And how can I restore the originally shown values?
Comment 11 Christian Gruber 2019-04-01 15:49:06 UTC
I added a few EXIF entries that are displayed, and suddenly 10 entries more than I selected are displayed. I have the tab on "EXIF", and when I click on the triangle left of the Search field, the "user defined" entries are selected.
When I click on "preferences", these entries are not selected. When I select them, and in the next round deselect them again, nothing happens. So this bug does not fill the marks wrongly, it displays wrongly.
Comment 12 Maik Qualmann 2019-04-01 16:35:05 UTC
Works here without problems. For example, there are the entries double for image information or photo information. Therefore, you have the "unavailable" display when you select the example of the focal length of image information, because this info is usually in photo information.

Maik
Comment 13 Christian Gruber 2019-04-01 17:52:17 UTC
I have experimented a bit, and when I have a certain number of entries (5 or so, I do not know exactly), the effect appears. A few more, and the effect vanishes again.
Comment 14 Christian Gruber 2019-04-03 10:47:50 UTC
Further observation: It seems to be necessary to have a field in the list that is not available.
Comment 15 caulier.gilles 2023-05-12 14:13:02 UTC
Maik,

This is another Exif value to populate in database. Remember the time zone wish too reported in another bugzilla entry.

Gilles