pdfextract API
    Preparing search index...

    Interface ExtractedImage

    An independently owned PNG export that remains valid after the PDF is closed.

    interface ExtractedImage {
        data: Uint8Array<ArrayBuffer>;
        height: number;
        imageId: string;
        mimeType: "image/png";
        variant: "full" | "thumbnail";
        width: number;
    }
    Index
    data: Uint8Array<ArrayBuffer>

    Owned PNG bytes; never a live WASM view or a detached caller buffer.

    height: number

    Actual output height in pixels.

    imageId: string

    Asset identifier used for the export.

    mimeType: "image/png"

    MIME type of the encoded output.

    variant: "full" | "thumbnail"

    full preserves native dimensions; thumbnail is an explicitly bounded preview.

    width: number

    Actual output width in pixels.