|
| ExifToolParser (QObject *const parent, bool async=false) |
| Constructor, Destructor, and Configuration Accessors. See exiftoolparser.cpp for details.
|
|
bool | applyChanges (const QString &path, const ExifToolData &newTags) |
| Apply tag changes to a target file using ExifTool with a list of tag properties.
|
|
bool | applyChanges (const QString &path, const QString &exvTempFile, bool hasExif=true, bool hasXmp=true, bool hasCSet=false) |
| Apply tag changes to a target file using ExifTool with a EXV container.
|
|
bool | applyMetadataFile (const QString &path, const QString &meta) |
| Apply a file with metadata to the target file.
|
|
bool | changeTimestamps (const QString &path, const QDateTime &dateTime) |
| Change all timestamps of the target file using ExifTool.
|
|
void | cmdCompleted (const ExifToolProcess::Result &result) |
| ExifTool Output Management Methods. See exiftoolparser_output.cpp for details.
|
|
bool | copyTags (const QString &src, const QString &dst, unsigned char copyOps, unsigned char writeModes=ExifToolProcess::ALL_MODES) |
| Copy group of tags from one source file to a destination file, following copy operations defined by 'copyOps'.
|
|
ExifToolData | currentData () const |
|
QString | currentErrorString () const |
|
QString | currentPath () const |
|
void | errorOccurred (const ExifToolProcess::Result &result, QProcess::ProcessError error, const QString &description) |
|
bool | exifToolAvailable () const |
| Check the ExifTool program availability.
|
|
void | finished () |
|
bool | load (const QString &path) |
| ExifTool Command Methods. See exiftoolparser_command.cpp for details.
|
|
bool | loadChunk (const QString &path, bool copyToAll=false) |
| Load Exif, Iptc, and Xmp chunk as Exiv2 EXV byte-array from a file.
|
|
bool | readableFormats () |
| Return a list of readable file format extensions.
|
|
void | setExifToolProgram (const QString &path) |
|
void | setOutputStream (int cmdAction, const QByteArray &cmdOutputChannel, const QByteArray &cmdErrorChannel) |
| Unit-test method to check ExifTool stream parsing.
|
|
bool | tagsDatabase () |
| Return a list of all tags from ExifTool database.
|
|
bool | translateTags (const QString &path, unsigned char transOps) |
| Translate group of tags in file.
|
|
bool | translationsList () |
| Return a list of available translations.
|
|
bool | version () |
| Return the current version of ExifTool.
|
|
bool | writableFormats () |
| Return a list of writable file format extensions.
|
|
With load() method, the container is used to get a map of ExifTool tag name as key and tags properties as values: key = ExifTool Tag name (QString - ExifTool Group 0.1.2.4.6) See -G Exiftool option (https://exiftool.org/exiftool_pod.html#Input-output-text-formatting). values = ExifTool Tag value (QString). ExifTool Tag type (QString). ExifTool Tag description (QString). ExifTool Tag numerical value (QString) - available if any .
With loadChunk() method, the container is used to get a EXV chunk as value: key = "EXV" (QString). value = the Exiv2 metadata container (QByteArray).
With applyChanges() method, the container is used as argument to store tupple of ExifTool tag name as key and tag value: key = ExifTool tag name (QString). value = ExifTool Tag value (QString).
With readableFormats() method, the container is used to get a list of upper-case file format extensions supported by ExifTool for reading. key = "READ_FORMAT" (QString). value = list of pairs (ext,desc) (QStringList)
With writableFormats() method, the container is used to get a list of upper-case file format extensions supported by ExifTool for writing. key = "WRITE_FORMAT" (QString). value = list of pairs (ext,desc) (QStringList).
With translationsList() method, the container is used to get a list of ExifTool languages available for translations. key = "TRANSLATIONS_LIST" (QString). value = list of languages as strings (aka fr, en, de, es, etc.) (QStringList).
With tagsDatabase() method, the container is used as argument to store tupple of ExifTool tag name as key and tag description: key = ExifTool tag name (QString). values = ExifTool Tag description (QString). ExifTool Tag type (QString). ExifTool Tag writable (QString).