Variable DefaultWriteTaskOptionsConst

DefaultWriteTaskOptions: {
    ignoreMinorErrors: boolean;
    struct:
        | 0
        | 1
        | 2
        | "undef";
    useMWG: boolean;
    writeArgs: string[];
} = ...

Type declaration

  • ReadonlyignoreMinorErrors: boolean

    Should we ignore minor errors when reading metadata?

    This defaults to true, as ExifTool can be quite chatty.

  • Readonlystruct:
        | 0
        | 1
        | 2
        | "undef"

    How should ExifTool handle nested structures?

    Defaults to 1.

    • 0 = Read/copy flattened tags
    • 1 = Read/copy structures
    • 2 = Read/copy both flattened and structured tags, but flag flattened tags as "unsafe" for copying
    • "undef" = Same as 0 for reading and 2 for copying
  • ReadonlyuseMWG: boolean

    Should ExifTool use MWG (Metadata Working Group) composite tags for reading and writing tags?

    ExifTool recommends this to be set to true. This defaults to false to maintain consistency with prior versions.

    Note that this can result in many tag value differences from ExifTool.read, and makes ExifTool.write write to "synonymous" MWG tags automatically.

  • ReadonlywriteArgs: string[]

    Any additional arguments that should be added by default to all write tasks, like ["-overwrite_original"]. The value provided to the ExifTool constructor can be overridden in the call to ().