Unique identifier for all my images

Started by moorpipe, December 28, 2014, 02:07:28 AM

Previous topic - Next topic

moorpipe

Once in a while I'll check the database for (functional) inconsistencies. I have a procedure using a special attribute that keeps track of the original filename. It works but is somewhat cumbersome. I want to be totally independent of the file structure, so I was looking for an ID that uniquely identifies an image. Could I use the IMatch Lifetime ID for that? I couldn't find any documentation about it.

Thanks!

JohnZeman

In scripts IMatch uses the OID as a unique identifier for each file.
Off the top of my head I don't recall if the OID is available outside of scripts though and to be honest I'm too tired tonight to check. zzzzzzzzzzzzzzzzzzz

Mario

The lifetime id is a GUID (globally unique identifier) which is assigned to each file in the database. It does not change as long as the file remains in the database. The OID can change.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

moorpipe

Thanks! This is exactly what I needed to know.

Regards.