NOTE: The methods exposed may be changed/removed at any time. This is the least polished of the classes and functionality/API may be changed/added/removed on any release. There may be old, buggy, or defunct code. These methods were formerly added ad-hoc by various community contributors, but no longer stand up to the rigor of the current design.ĮxifToolAlpha is not up to the rigorous testing standard of bothĮxifTool or ExifToolHelper. More methods may be added and/or slight API tweaks may occur with future releases.Įxiftool.ExifToolAlpha further extends the ExifToolHelper and includes some community-contributed not-very-well-tested methods. Some inherited functions to turn common errors into warnings and adds logic to makeįor example, ExifToolHelper provides wrapper functions to get metadata, and auto-starts the exiftool instance if it’s not running (instead of raising an Exception).ĮxifToolHelper demonstrates how to extend ExifTool to your liking if your project demands customizations not directly provided by ExifTool. The API is considered stable and should not change much with future releases.Įxiftool.ExifToolHelper exposes some of the most commonly used functionality. The main methods provided are execute() and execute_json() which allows direct interaction with the underlying exiftool process. It contains only the core features with no extra fluff. The base ExifTool class contains the core functionality exposed in the most rudimentary way, and each successive class inherits and adds functionality.Įxiftool.ExifTool is the base class with core logic to interface with PH’s ExifTool process. The library consists of a few classes, each with increasingly more features. PyExifTool was designed with flexibility and extensibility in mind. The current documentation is available at. Ubuntu sudo apt install libimage-exiftool-perlĬentOS/RHEL yum install perl-Image-ExifTool Unfortunately, some do not have the minimum required version, in which case you Most current Linux distributions have a package which will install exiftool. Windows/Mac users can download the latest version of exiftool: Linux To check your exiftool version: exiftool -ver Windows/Mac Production version of exiftool featuring the options to allow exit statusĬhecks used in conjuction with -echo3 and -echo4 parameters). PyExifTool requires a minimum version of 12.15 (which was the first Pathname to it by using ExifTool(executable=). If exiftool is not on the PATH, you can specify the full Phil Harvey’s exiftoolįor PyExifTool to function, exiftool command-line tool must exist on Linux, and probably also runs on other Unix-like platforms. PyExifTool has been tested on Windows and Run setup.py to install the module from source Git clone git:///sylikc/pyexiftool.gitĪlternatively, you can download a tarball. Refer to documentation for more Examples and Quick Start Guide Getting PyExifTool PyPIĮasiest: Install a version from the official PyExifTool PyPI python -m pip install -U pyexiftool From SourceĬheck out the source code from the github repository This is much more efficient than launching a separate Single instance needs to be launched and can be reused for many Since exiftool is run in batch mode, only a Program, including methods to extract meta-information from one or Tool in batch mode and features methods to send commands to that The library provides the class exiftool.ExifTool that runs the command-line Phil Harvey’s ExifTool command-line application. PyExifTool is a Python library to communicate with an instance of
0 Comments
Leave a Reply. |