Exiftool plugin for mdinfo
Project description
Plugin for mdinfo that provides a template interface to exiftool.
Synopsis
$ mdinfo -p "{exiftool:XMP:Title}" -p "{exiftool:Keywords}" *.jpeg
flowers.jpeg: Zinia flowers in a field
pears.jpeg: Pears on a tree fruit pears
Installation
Requires mdinfo to be installed.
pip install mdinfo
pip install mdinfo-exiftool
Template Help
{exiftool}
Format: {exiftool:GROUP:TAGNAME}; use exiftool (https://exiftool.org) to extract metadata, in form GROUP:TAGNAME or TAGNAME, from image. E.g. {exiftool:Make} to get camera make, or {exiftool:IPTC:Keywords} to extract keywords. See https://exiftool.org/TagNames/ for list of valid tag names. Group name is optional (e.g. EXIF, IPTC, etc) but if specified, should be the same as used in exiftool -G, e.g. {exiftool:EXIF:Make}. exiftool must be installed in the path to use this template field (https://exiftool.org/).
The {exiftool} template uses the third-party exiftool app (https://exiftool.org) to extract metadata from photo and video files.
It must be used with one or more subfields which are exiftool tags, for example: {exiftool:EXIF:Make} for camera make, or {exiftool:IPTC:Keywords} for keywords. The exiftool Group name (e.g. IPTC) is optional.
There are two derived subfields: created and modified which represent the created date or the modified date, respectively. These subfields are datetime values and you can access the various attributes of the datetime by using an attribute name following a period, e.g. {exiftool:created.year} for the 4-digit year. This follows the conventions of mdinfo date/time fields.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mdinfo_exiftool-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31c83c3256655e18a17fbba71bbb3f7a94dc709d8326e3169df496df5c1cf587 |
|
MD5 | 237f5bf8c74af9ab43cb3e669ccb140d |
|
BLAKE2b-256 | 15cae4668032d83f19078bcfbf2ec0e14bf3d802ed4a809885f64db86ba5bc81 |