pdfextract API
    Preparing search index...

    Interface PdfLimits

    Positive safe-integer resource budgets. Unspecified values use DEFAULT_LIMITS; memory is an estimate, not an OS sandbox.

    interface PdfLimits {
        maxDecodedBytes?: number;
        maxImagePixels?: number;
        maxInputBytes?: number;
        maxOcrPixels?: number;
        maxPages?: number;
    }
    Index
    maxDecodedBytes?: number

    Estimated decoded working-memory budget; default 1 GiB, estimated at 16 bytes per pixel.

    maxImagePixels?: number

    Maximum native image width × height; default 64 million pixels.

    maxInputBytes?: number

    Maximum whole-PDF input length in bytes; default 256 MiB.

    maxOcrPixels?: number

    Maximum pixels in a separately bounded OCR working raster; default 16 million.

    maxPages?: number

    Maximum PDF page count; default 10,000.