pdf-parse
    Preparing search index...

    Interface EmbeddedImage

    EmbeddedImage

    • Normalized representation of an embedded image extracted from the PDF.
    • data: Raw image bytes (e.g. PNG/JPEG) as Uint8Array. Use this for file writing or binary processing.
    • dataUrl: Optional data URL (e.g. "data:image/png;base64,...") for directly embedding in src. Storing both lets consumers choose the most convenient form; consider omitting one to save memory.
    • name: Resource name for the image.
    • width / height: Dimensions in pixels.
    • kind: ImageKindValue from indicating the pixel format (e.g. GRAYSCALE_1BPP / RGB_24BPP / RGBA_32BPP).
    interface EmbeddedImage {
        data: Uint8Array;
        dataUrl: string;
        height: number;
        kind: number;
        name: string;
        width: number;
    }
    Index

    Properties

    data: Uint8Array
    dataUrl: string
    height: number
    kind: number
    name: string
    width: number