mindee
    Preparing search index...

    Function extractFromPage

    • Extract images from a PDF page.

      Parameters

      • pdfPage: PDFPage

        The PDF page to extract images from.

      • polygons: Polygon[]

        The polygons to extract images from.

      • asImage: boolean = false

        Whether to return the extracted images as images or as raw data.

      • Optionalquality: number

        The quality of the extracted images.

      Returns Promise<Uint8Array<ArrayBufferLike>[]>