Optional
includeBufferContent?: booleanInclude the buffer content in the response, increase the response weight. Set this option to true if you want to reuse the Buffer content of the image.
Optional
outputFileName?: stringThe name of the image file.
Optional
outputFolderName?: stringThe name of the folder where images will be rendered. Pass __dirname if you wish to have the images at same level.
Optional
pages?: number[]An array containing the pages to render. Any index not contained in the pdf file will be skipped. The first page is 1.
Optional
type?: ImageTypeChoose between PNG, JPEG, WEBP.
Optional
viewportScale?: numberControls scaling (+- equivalent to zooming). Increasing scale increases quality, size and time to render the images.
The options of images rendering.