Interface FileTags

These tags are not metadata fields, but are intrinsic to the content of a given file. ExifTool can't write to many of these tags.

interface FileTags {
    BitsPerSample?: number;
    BMPVersion?: string;
    ColorComponents?: number;
    CurrentIPTCDigest?: string;
    Directory?: string;
    EncodingProcess?: string;
    ExifByteOrder?: string;
    FileAccessDate?: string | ExifDateTime;
    FileCreateDate?: string | ExifDateTime;
    FileInodeChangeDate?: string | ExifDateTime;
    FileModifyDate?: string | ExifDateTime;
    FileName?: string;
    FilePermissions?: string;
    FileSize?: string;
    FileType?: string;
    FileTypeExtension?: string;
    ImageDataMD5?: string;
    ImageHeight?: number;
    ImageWidth?: number;
    MIMEType?: string;
    NumColors?: string;
    NumImportantColors?: string;
    PixelsPerMeterX?: number;
    PixelsPerMeterY?: number;
    Planes?: number;
    YCbCrSubSampling?: string;
}

Hierarchy (view full)

Properties

BitsPerSample?: number

★★★★ ✔ Example: 8

BMPVersion?: string

☆☆☆☆ ✔ Example: "Windows V3"

ColorComponents?: number

★★★★ ✔ Example: 3

CurrentIPTCDigest?: string

☆☆☆☆ ✔ Example: "ff5978eb5c164fa308177d41e817e08f"

Directory?: string

★★★★ ✔ Example: "/home/username/pictures"

EncodingProcess?: string

★★★★ ✔ Example: "Progressive DCT, Huffman coding"

ExifByteOrder?: string

★★★★ ✔ Example: "Little-endian (Intel, II)"

FileAccessDate?: string | ExifDateTime

★★★★ ✔ Example: "2024:10:31 17:12:32-07:00"

FileCreateDate?: string | ExifDateTime

☆☆☆☆ Example:

FileInodeChangeDate?: string | ExifDateTime

★★★★ ✔ Example: "2024:10:31 12:39:58-07:00"

FileModifyDate?: string | ExifDateTime

★★★★ ✔ Example: "2024:06:15 18:39:22-07:00"

FileName?: string

★★★★ ✔ Example: "utc+8_oly.jpg"

FilePermissions?: string

★★★★ ✔ Example: "-rwxrwxr-x"

FileSize?: string

★★★★ ✔ Example: "990 bytes"

FileType?: string

★★★★ ✔ Example: "RW2"

FileTypeExtension?: string

★★★★ ✔ Example: "rw2"

ImageDataMD5?: string

☆☆☆☆ Example:

ImageHeight?: number

★★★★ ✔ Example: 960

ImageWidth?: number

★★★★ ✔ Example: 96

MIMEType?: string

★★★★ ✔ Example: "video/x-msvideo"

NumColors?: string

☆☆☆☆ ✔ Example: "Use BitDepth"

NumImportantColors?: string

☆☆☆☆ ✔ Example: "All"

PixelsPerMeterX?: number

☆☆☆☆ ✔ Example: 0

PixelsPerMeterY?: number

☆☆☆☆ ✔ Example: 0

Planes?: number

☆☆☆☆ ✔ Example: 1

YCbCrSubSampling?: string

★★★★ ✔ Example: "YCbCr4:4:4 (1 1)"