exiv2.cr v0.1.0

Crystal binding for libgexiv2

exiv2.cr

Build Status Releases

Crystal binding to libgexiv2.

Extracting EXIF,IPTC and XMP metadata in photo and video files.

Installation

  1. Install libgexiv2:

    $ sudo apt install libgexiv2-dev
    
  2. Add the dependency to your shard.yml:

    dependencies:
      exiv2:
        github: y2k2mt/exiv2.cr
        version: 0.1.1
    
  3. Run shards install

Usage

require "exiv2"

metadata = Exiv2::Metadata.new "/somewhere/image.jpg"
metadata.model # e.g. "Canon EOS 40D"

Contributing

  1. Fork it (https://github.com/your-github-user/exiv2.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • y2k2mt - creator and maintainer
Repository

exiv2.cr

Owner
Statistic
  • 2
  • 0
  • 0
  • 0
  • 1
  • about 4 years ago
  • January 13, 2020
License

MIT License

Links
Synced at

Wed, 01 May 2024 20:17:46 GMT

Languages