OptionalincludeBufferContent?: 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.
OptionaloutputFileName?: stringThe name of the image file.
OptionaloutputFolderName?: stringThe name of the folder where images will be rendered. Pass __dirname if you wish to have the images at same level.
Optionalpages?: number[]An array containing the pages to render. Any index not contained in the pdf file will be skipped. The first page is 1.
Optionaltype?: ImageTypeChoose between PNG, JPEG, WEBP.
OptionalviewportScale?: numberControls scaling (+- equivalent to zooming). Increasing scale increases quality, size and time to render the images.
The options of images rendering.