Malcolm Greene wrote:
Scenario: An application tracks image files by storing images in a table
or by storing paths to images kept in a managed folder. When user needs
to edit an image, we plan to copy the image file from table (or managed
folder) to temp location and launch it via Paintbrush or an image editor
of user's choice.
Question: Any suggestions for detecting that a user has edited an image
file so we can store the updated copy?
How about calculating, comparing and storing checksums for the image
files ? If the checksum of the (maybe) edited file is different from
the checksum for that file stored in your table - then the file has been
edited so you can do what you want with it and update its checksum in
the table.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.