interface ExtractImagesFromPdfArguments {
    compressFormat?: CompressFormat;
    pdfFilePath: string;
    quality?: number;
    scaling?: number;
}

Hierarchy

  • PdfExtractorArguments
    • ExtractImagesFromPdfArguments

Properties

compressFormat?: CompressFormat

Compress format used for extracted images. Android only.

Default value is JPEG.

pdfFilePath: string

The location of the PDF file

quality?: number

The quality that each extracted image should have. This tweaks the compression, affecting the final image file size. (100: maximum quality, 0: minimum quality)

Default value is 90

scaling?: number

Integer scaling factor applied to the PDF media box frame while extracting. Affects the output image quality. In most cases the recommended value is 2 or higher.

Default value is 2.