docx
    Preparing search index...

    Type Alias EmbeddedFilePreview

    The picture a document shows for an embedded file.

    type EmbeddedFilePreview = {
        data: Buffer | string | Uint8Array | ArrayBuffer;
        type: "jpg" | "png" | "gif" | "bmp";
    }
    Index
    data: Buffer | string | Uint8Array | ArrayBuffer

    The image data. Accepts a Buffer, Uint8Array, ArrayBuffer, or a base64-encoded data URI string

    type: "jpg" | "png" | "gif" | "bmp"

    The image format. Word draws an embedded file's picture as a legacy picture, which can't be an SVG