mini_exiftool | Exiftool command-line application | Document Editor library
kandi X-RAY | mini_exiftool Summary
kandi X-RAY | mini_exiftool Summary
This library is a wrapper for the Exiftool command-line application (written by Phil Harvey. It provides the full power of Exiftool to Ruby: reading and writing of EXIF-data, IPTC-data and XMP-data. Branch master is for actual development and branch compatibility-version is for compatibility with Ruby 1.8 and exiftool versions prior 7.65.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mini_exiftool
mini_exiftool Key Features
mini_exiftool Examples and Code Snippets
Community Discussions
Trending Discussions on mini_exiftool
QUESTION
I having trouble getting Ruby gems to work right with TextMate (TM) and chruby on macOS.
Clean install of Mojave (now v10.14.4) on a 2017 iMac about six months ago.
Trying to use Ruby-2.6.2, although earlier versions have been installed. System Ruby is v2.3.7
I have ended up with gems in at least three locations:
~/.rubies/ruby-2.6.2/lib/ruby/gems/2.6.0/gems/
~/.gem/ruby/2.6.2/gems/
/Library/Ruby/Gems/2.3.0/gems/
TextMate relies on its Preferences for gem and Ruby locations. As a start I have the following: GEM_HOME is unset because I don't see why it's needed, although I've frequently read to set it as shown or similar. GEM_HOME and GEM_PATH are defined as
GEM_PATH provides the locations (there may be several) where gems can be found.
GEM_HOME is where gems will be installed (by default).
The problem is that when I run this script (after the error not included) in TM
...ANSWER
Answered 2019-Jun-14 at 05:08Changed GEM_HOME
and GEM_PATH
to $HOME/.gem/ruby/2.6.2:$HOME/.rubies/ruby-2.6.2/lib/ruby/gems/2.6.0
based on copying the those variables from what showing up when running from the terminal. Lu's comment made me look a little harder at what was being reported. Basically I was missing $HOME/
in the second path (after the colon). I have been fiddling with this for months
QUESTION
I have a list of images, on which I run mini_exiftool
to extract various properties from images (EXIF & IPTC). I have successfully created a LiquidTag. It accepts the path and the EXIF property I want, and returns that as (what I assume is) a string.
However, mini_exiftool
is slow. Currently I insert the tag multiple times per image. I would like to run it once per image and store all the data (array? object?) in a variable. Small disclaimer - I hardly know any Ruby, apart from what I learned trying to understand this issue.
This is how I use the plugin:
...ANSWER
Answered 2017-Apr-12 at 18:32From how you described the plugin, I would say it does what you want. The plugin returns a specific property from (a photo?) and returns it as a string.
But it sounds as you want to to it one time only and store it somewhere else. In this case you might want to consider doing it a bit different. Esp when you say the property reading is slow.
You could in example use a generator to create the data you need based on all images before a run. Details on generators: http://jekyllrb.com/docs/plugins/#generators
You could have a similar approach like I have for sorting languages:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mini_exiftool
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page