renderToImage

fun renderToImage(page: PdfPage, scale: Double = 1.0, background: Color = Color.WHITE): BufferedImage