Best Practices for Checking if a Photo Has Copyright

Started by James Penner, April 14, 2015, 05:06:14 PM

Previous topic - Next topic

James Penner

Hello,

We have a photo storage system that allows users to freely upload/download images. Currently, there is a possibility that a user could unknowingly upload copyright images, and I want to put some validation in place to ensure that doesn't happen.

Is there a best practices approach to this? I would think checking if there is data in any of the related IPTC fields would be a good start. Probably checking if there's anything in the Exif Copyright field? Maybe looking to see if the Photoshop Copyright Flag is set to True?

Any guidance would be greatly appreciated.

Thanks!

  - James

Phil Harvey

Hi James,

The MWG tags use EXIF:Copyright, IPTC:CopyrightNotice and XMP-dc:Rights.  As a start, I would check all of these (most of which you have already mentioned).

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

James Penner

Thank you, Phil, that's great! I didn't know about the MWG tags, and knowing there's a recommended standard like this helps a lot.

Thanks again.

  - James