[Digikam-users] Images.uniquehash calculation

Marie-Noëlle Augendre mnaugendre at gmail.com
Mon Jun 17 17:47:25 BST 2013


It'll be better to send this message to the developers' list, I think.

Marie-Noëlle

2013/6/17 Marcos Dione <mdione at grulic.org.ar>

>
>     Disclaimer: probably this is not the right list to ask this. if so,
> just let me know. also, I'm not subscribed, so please CC me in the
> answers.
>
>     I'm trying to write a script that is able to take an image already
> in digikam's database and resize it, apply the same tags as the
> original, and possibly remove the original. so far the idea is that this
> script will be independent of digikam, touching it's database when
> needed. so I checked the database structure and it looks ok, except for
> the md5sum. I tried to reimplement DImgLoader::uniqueHashV2() in
> libs/dimg/loaders/dimgloader.cpp:329, and even reimplementing it in
> python with the same libraries (qt4's md5) and copying the algo line by
> line, I get different values in the database and with the script. am I
> missing something? for omparisson, I attach the script I did.
>
>
> --
> (Not so) Random fortune:
> 19:39 < m4rgin4l> por chupamedias
> 19:40 < m4rgin4l> o como me gusta denominarlo: academic social
>     engineering
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>


-- 
<http://www.marie-noelle-augendre.com/photos/>

Mes dernières photos sont dans ma
galerie<http://www.marie-noelle-augendre.com/photos/>
.
Connaissez-vous Image Fixe <http://image-fixe.org>, le photo-club de Saint
Jean du Gard ?
Et parcourez les Cévennes à ma façon avec Cévennes
Plurielles<http://www.cevennes-plurielles.com/>,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20130617/fbdc4c74/attachment.html>


More information about the Digikam-users mailing list