Skip to content

JordanTheriault/license-embed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

license-embed

A C++ proof-of-concept library that offers a command-line utility to embed a Creative Commons license(URL) into image XMP metadata. This library uses Adobe's XMP Toolkit SDK to implement metadata manipulation of an image.

Usage

Firstly, clone the repository:

$ git clone https://github.com/gideonthomas/license-embed.git

To use the library, first you have to build Adobe's XMP Toolkit.

Mac OSX - Build XMP Toolkit

  1. First install the cmake utility for Mac OSX and place the CMake.app file into the XMP-Toolkit/tools/cmake folder (create it if it does not exist).

  2. Run the shell script XMP-Toolkit/build/GenerateXMPToolkitSDK_mac.sh and choose the appropriate platform for installation (a Mac-based build). You will most likely want to generate a "static" version of the library.

  3. Open the generated project file in XCode. The file will be located in a path similar to XMP-Toolkit/build/static/intel/XMPSDKToolkitSDK.xcodeproj.

  4. In the menu in XCode, select Product > Build. Ensure that the build was successful.

Now that you have built the Toolkit, you need to build the library itself.

Mac OSX - Build license-embed library

  1. Run the shell script XMP-Toolkit/samples/build/GenerateXMPToolkitSDK_mac.sh and choose the appropriate platform (Mac OSX).

  2. Open the generated project file in XCode. The file will be located in a path similar to XMP-Toolkit/samples/build/intel/macintosh/XMPSDKToolkitSample.xcodeproj

  3. In the menu in XCode, select Product > Build. Ensure that the build was successful.

The library should now be ready to use. It will be located int the XMP-Toolkit/samples/target folder.

Simply run the MyModifyXMP file and provide a pathname and follow the instructions.

$ ./MyModifyXMP path/to/file/relative/to/MyModifyXMP

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C++ 97.8%
  • C 1.2%
  • Other 1.0%