Skip to main content

Module exiftool

Module exiftool 

Source
Expand description

Core ExifTool struct and public API.

This is the main entry point for reading metadata from files. Mirrors ExifTool.pm’s ImageInfo/ExtractInfo/GetInfo pipeline.

Structs§

ExifTool
The main ExifTool engine — read, write, and edit metadata.
NewValue
The main ExifTool struct. Create one and use it to extract metadata from files.
Options
Processing options for metadata extraction.

Functions§

get_file_type
Detect the file type of a file at the given path.
parse_date_shift
Parse a date shift string like “+1:0:0” (add 1 hour) or “-0:30:0” (subtract 30 min). Returns (sign, hours, minutes, seconds).
shift_datetime
Shift a datetime string by the given amount. Input format: “YYYY:MM:DD HH:MM:SS”

Type Aliases§

ImageInfo
Result of metadata extraction: maps tag names to display values.