Project

exif_csv

0.0
No commit activity in last 3 years
No release in over 3 years
read exif of all the images in the directory and write them in a csv file.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 10.0
>= 0

Runtime

>= 0
 Project Readme

ExifCsv

ExifCsv extracts exif of images into a CSV file. It only supports gps latitude and longitude at the moment.

Installation

Add this line to your application's Gemfile:

gem 'exif_csv'

And then execute:

$ bundle

Or install it yourself as:

$ gem install exif_csv

Usage

$ ls img
/img
├── cats
│   └── image_e.jpg
├── image_a.jpg
├── image_b.jpg(doesn't have exif)
├── image_c.jpg
└── image_d.jpg(doesn't have gps tags)

$ exif_csv img

$ cat output.csv
/img/cats/image_e.jpg,59.92475507998271,10.695598120067395
/img/image_c.jpg,38.4,-122.82866666666666
/img/image_a.jpg,50.09133333333333,-122.94566666666667

Help

Usage: exif_csv [options]
        --dry-run
    -h, --help

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/exif_csv.

License

The gem is available as open source under the terms of the MIT License.