Add md5-sum to .xmp-file?

Started by Archive, May 12, 2010, 08:54:24 AM

Previous topic - Next topic

Archive

[Originally posted by hipshot on 2008-09-05 14:15:42-07]

Hi!

I wonder if it possible/feasable to add a "personal" tag to the .xmp-file that ExifTool can generate?

I looked at the exiftool homepage, and in this forum, but didn't really find an answer.

My thinking is that I would generate a md5-hash sum for each .cr2-file directly upon downloading from the camera, and then generate an xmp-file with Exiftool which would include the hash.

This md5 sum would then accompany the raw-file so I at a later stage could verify that the file hasn't been corrupted.

Today I use md5summer and Fastsum to generate hash sums stored in separate files, but it seemed like a nice idea to have the md5 sum in the .xmp-file that is supposed to be together with the raw file at all times.

Best regards,

/Par

Archive

[Originally posted by exiftool on 2008-09-05 14:36:05-07]

Yes, it is absolutely feasible to create a custom XMP tag.
See the config
file documentation
for details about creating user-defined tags.

You should know that there is already a DNG (EXIF) tag for this purpose that you could
use instead.  It is called RawImageDigest and stores a 16-byte hash value.

- Phil