@squidcloud/client
    Preparing search index...

    Interface ExtractDataFromDocumentOptions

    Options for customizing how data is extracted from a document.

    interface ExtractDataFromDocumentOptions {
        extractImages?: boolean;
        imageMinSizePixels?: number;
        pageIndexes?: number[];
        preferredExtractionMethod?: DocumentExtractionMethod;
    }
    Index

    Properties

    extractImages?: boolean

    Whether to extract embedded images from the document.

    imageMinSizePixels?: number

    Minimum width/height (in pixels) of images to extract. Smaller images will be ignored.

    pageIndexes?: number[]

    Specific page indexes to extract from the document (0-based). If omitted, all pages are extracted.

    preferredExtractionMethod?: DocumentExtractionMethod

    The preferred method for extracting data from the document.