Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

51 Commits

Repository files navigation

Fasttrack

Fasttrack is a rubylike object-oriented interface around the Exempi C library. It provides an easy way to read, write and modify embedded XMP metadata from arbitrary files.

Installation

Add this line to your application's Gemfile:

gem 'fasttrack'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fasttrack

Usage

Opening a file:

file=Fasttrack::File.new'path'# add the 'w' parameter if you want to write

Editing the file's XMP:

file.xmp.set:tiff,'Make','Samsung'# or, more prettilyfile.xmp['tiff:Make']='Samsung'

Iterate over the properties in a file:

props=file.xmp.map{|p| p[1]}

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

3-clause BSD, identical to the license used by Exempi and Adobe XMP Toolkit. For the license text, see LICENSE.

About

rubylike wrapper for the Exempi XMP handling library

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages