Options for extracting images from a PDF document.

Constructors

Properties

Constructors

Properties

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 is 90

scaling: number

Scaling factor applied to the PDF media box frame while extracting.

Default is 2