Summary: | duplicate uniqueHash (image hash) in database, wrong thumb on images | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Elle Stone <elle> |
Component: | Database-Thumbs | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, elle |
Priority: | NOR | ||
Version: | 1.7.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.5.0 | |
Sentry Crash Report: |
Description
Elle Stone
2011-01-07 21:29:32 UTC
Thanks a lot for your research, indeed this is a problem, known and solved (for the future). 1) This happens usually with TIFF images without metadata. The header of such files contains several kilobytes of (pretty useless) line offsets. I have not seen a JPEG which is affected 2) Computing the hash over the whole file is a major performance problem - scanning would take much longer. The old hash covered 99.9% of cases, we'll see what the new algorithm brings. 3) Some other problems in context of renaming are probably unrelated *** This bug has been marked as a duplicate of bug 210353 *** Hi Marcel, Regarding, "This is a problem, known and solved (for the future). 1) This happens usually with TIFF images without metadata." In fact the affected images, tiffs output by UFRaw 0.16 and 0.17, have a LOT of metadata, all the metadata that was in the raw file (.cr2). If one were to use exiftool to add eg copyright information, keywords, contact information, location, etc.to one's raw files (which I do, in fact) there could be a whole lot of metadata in a raw file. Suspecting that a wealth of metadata could be the problem, I used exiftool to strip out all the metadata in the UFRaw-produced tiffs, and when I added the stripped tiffs to the digikam database, the stripped tiffs all had unique hashes and proper thumbs. Is the future solved bug version of digikam available somewhere? Elle Stone On 1/7/11, Marcel Wiesweg <marcel.wiesweg@gmx.de> wrote: > https://bugs.kde.org/show_bug.cgi?id=262452 > > > Marcel Wiesweg <marcel.wiesweg@gmx.de> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |RESOLVED > Resolution| |DUPLICATE > > > > > --- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de> 2011-01-07 > 23:39:33 --- > Thanks a lot for your research, indeed this is a problem, known and solved > (for > the future). > > 1) This happens usually with TIFF images without metadata. The header of > such > files contains several kilobytes of (pretty useless) line offsets. I have > not > seen a JPEG which is affected > > 2) Computing the hash over the whole file is a major performance problem - > scanning would take much longer. The old hash covered 99.9% of cases, we'll > see > what the new algorithm brings. > > 3) Some other problems in context of renaming are probably unrelated > > *** This bug has been marked as a duplicate of bug 210353 *** > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are on the CC list for the bug. > You reported the bug. > Elle, Because Marcel work current on Google Summer of Code 2010 branch, i think it's fixed to 2.0.0 Gilles Gilles, thanks. Can 2.0.0 be run alongside rather than in place of current digikam? Elle On 1/8/11, Gilles Caulier <caulier.gilles@gmail.com> wrote: > https://bugs.kde.org/show_bug.cgi?id=262452 > > > Gilles Caulier <caulier.gilles@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |caulier.gilles@gmail.com > > > > > --- Comment #3 from Gilles Caulier <caulier gilles gmail com> 2011-01-08 > 10:16:59 --- > Elle, > > Because Marcel work current on Google Summer of Code 2010 branch, i think > it's > fixed to 2.0.0 > > Gilles > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are on the CC list for the bug. > You reported the bug. > 1.x does not know the new hash, so it will not open the database once you converted it to use the new hash with 2.0. You need to convert explicitly for this reason, there is an Update button at the bottom of the Database panel in the Settings dialog. Without this conversion, both version can operate on the same db, but your problem is not fixed. Fixed with https://bugs.kde.org/show_bug.cgi?id=210353 |