@woss/exiftool - v0.3.1
    Preparing search index...

    Interface FileInfo

    File information returned by parse operations.

    Memory note: binary tag values (e.g. ThumbnailImage) are zero-copy views into the source file's buffer, so a FileInfo keeps that buffer alive as long as the object (or any of its tag views) is referenced. Let it go out of scope after extracting what you need, or copy values out (Uint8Array.prototype.slice()) if you must retain them independently of the file bytes.

    interface FileInfo {
        path: string;
        format: string;
        tags: Record<string, TagValue>;
        errors?: string[];
        warnings?: string[];
    }
    Index
    path: string

    Source path or identifier

    format: string

    Detected format (e.g., "JPEG", "PNG", "AVIF")

    tags: Record<string, TagValue>

    Extracted tags, keyed by tag name

    errors?: string[]

    Parse errors

    warnings?: string[]

    Parse warnings