exiftool-vendored
    Preparing search index...

    Variable SettingsConst

    Settings: {
        allowArchaicTimezoneOffsets: Setting<boolean>;
        allowBakerIslandTime: Setting<boolean>;
        logger: Setting<() => Logger>;
        maxValidOffsetMinutes: Setting<number>;
        reset(): void;
    } = ...

    Library-wide configuration settings for exiftool-vendored

    Type Declaration

    • allowArchaicTimezoneOffsets: Setting<boolean>

      Allow parsing of archaic timezone offsets that are no longer in use.

      These include historical offsets like:

      Warning: Enabling this may lead to incorrect timezone parsing for modern files, as these offsets are not currently used anywhere. Only enable this if you are specifically working with historical photographs or scanned archival material.

      false
      
    • allowBakerIslandTime: Setting<boolean>

      Allow parsing of the UTC-12:00 timezone offset ("Baker Island Time") as a valid timezone.

      This timezone is not used for any populated land, and is disabled by default to prevent incorrect timezone parsing from files with mangled metadata.

      false
      
    • logger: Setting<() => Logger>

      Logger instance used throughout exiftool-vendored.

      By default, this is set to ConsoleLogger if NODE_DEBUG=exiftool-vendored is set, otherwise NoLogger.

      This can be changed at runtime to redirect logging output. When changed, the batch-cluster global logger is also updated for consistency.

      ConsoleLogger or NoLogger based on NODE_DEBUG
      
    • maxValidOffsetMinutes: Setting<number>

      Maximum distance (in minutes) from a valid timezone offset to accept when inferring timezones from GPS or UTC timestamp comparisons.

      This threshold handles GPS time drift and clock skew. GPS acquisition may lag behind the actual photo time, especially if the GPS fix is old or the camera clock is slightly off.

      • 15 minutes: Stricter matching, fewer false positives, but may reject photos with older GPS fixes
      • 30 minutes: More tolerant of GPS lag, recommended for photos that may have stale GPS data
      30 minutes
      
    • reset: function
      • Reset all settings to their default values

        Returns void

    ExifToolOptions for per-instance settings.