There are pdf files in which there is a scanned document + recognized text in it. pdfRenderer.renderImage and pdfRenderer.renderImageWithDPI give an output from a recognized text, and you just need a scanned image (the raster itself).

    1 answer 1

    The issue is resolved by adding levigo-jbig2-imageio. After that, pdfRenderer.renderImage began to return the picture itself, not the text render.