I don't know what an imprint is, but if you want to compare one file to another that was loaded before, create an MD5 checksum and save it somewhere (registry?), then compare it to the checksum of the second file.

You can probably do that with an image in memory too.