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 {
    BMPVersion?: string;
    BitsPerSample?: number;
    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

BMPVersion?: string

☆☆☆☆ ✔ Example: "Windows V3"

BitsPerSample?: number

★★★★ ✔ Example: 8

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:04:11 15:42:05-07:00"

FileCreateDate?: string | ExifDateTime

☆☆☆☆ Example:

FileInodeChangeDate?: string | ExifDateTime

★★★★ ✔ Example: "2024:04:09 21:42:21-07:00"

FileModifyDate?: string | ExifDateTime

★★★★ ✔ Example: "2023:07:19 21:21:02-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)"