[KPhotoAlbum] Likelihood of duplicate images?

Miika Turkia miika.turkia at gmail.com
Sat Oct 1 06:51:38 CEST 2011


On Sat, Oct 1, 2011 at 5:21 AM, Tim McCormack <kpa at brainonfire.net> wrote:

> Hi all,
>
> A couple of questions from the perspective of writing a tool to work
> with KPA:
>
> * How likely is a user to have binary-identical images in their KPA
>  store? (Or, is there a reason for this to be intentional/not
>  undesirable?)
>

I don't think we currently try to avoid having identical images. If user has
duplicates under Pics directory then we readily include them in KPA. There
is a feature to automatically stack identical images (md5 sum matches) but
that is more or less all we currently do. Users are free to have duplicates
or get rid of them if they so desire.


> * Does KPA have a documented behavior (that I should mimic) for
>  handling duplicates?
>

Nope. If image is moved we detect that by the MD5 sum and update the
metadata (however, I have no idea how well that works with duplicates)

>
> Why I'm interested:
>
> I'm writing a tool [1] for generating a facetable web gallery from KPA
> databases, and at the core is a utility that creates and manages a
> "shadow" database containing all the information in the KPA DB *plus*
> persistent unique image IDs. This latter functionality has to mimic
> KPA's own resolution behavior.
>
>  - Tim McCormack
>
> [1] Development repo: https://github.com/timmc/kpawebgen
>
> _______________________________________________
> KPhotoAlbum mailing list
> KPhotoAlbum at mail.kdab.com
> http://mail.kdab.com/mailman/listinfo/kphotoalbum
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kdab.com/pipermail/kphotoalbum/attachments/20111001/6cfaab4a/attachment.html>


More information about the KPhotoAlbum mailing list